mirror of
https://git.triforceproject.com/triforce/source
synced 2026-11-29 04:18:49 -04:00
Triforce v0.8.5
A Randomizer page in the launcher, a new title screen with Mods and Save Select tabs, scaling changes applied in game, the Jabu-Jabu bars fixed, renderer frame-time work and the brightness-flash fix, and fixes from the 0.8.4 reports.
This commit is contained in:
@@ -73,7 +73,20 @@ static void mf_av1_flush(void *m) { (void)m; }
|
||||
#include "../host/video_movie.h" /* (the Dec cut out keeps a movie's counts: VideoMovie) */
|
||||
#include "../host/video_catchup.h" /* (and its pictures' pace: VideoPace, the catch-up's rule) */
|
||||
#include "../host/video_input.h" /* (and the submissions' limit: its rule and result) */
|
||||
/* ((Triforce, 11-22) the decoder record also keeps the decode-ahead worker's state (nn_video.c "decode ahead"): none runs
|
||||
here (d->worker stays NULL), so the acquire decodes in the call, which is what this fixture watches */
|
||||
typedef void *HANDLE;
|
||||
typedef struct { int unused; } CONDITION_VARIABLE;
|
||||
static void WakeAllConditionVariable(CONDITION_VARIABLE *cv) { (void)cv; }
|
||||
enum { VIDEO_LATE_NS = 25000000 };
|
||||
static inline int video_picture_late(int64_t pts, int64_t clock_pts, int64_t clock_ns, int64_t now, int64_t late) {
|
||||
return pts + late < clock_pts + (now - clock_ns);
|
||||
}
|
||||
#include "video_acquire_types.inc"
|
||||
static int64_t ahead_wait(Dec *d) { (void)d; return 0; } /* (never called without a worker) */
|
||||
static int tail_unsettled(const Dec *d) { (void)d; return 0; }
|
||||
static void ahead_stop(Dec *d) { (void)d; }
|
||||
static void ahead_go(Dec *d) { (void)d; }
|
||||
|
||||
static void pending_push(Dec *d, AVPacket *pkt) { (void)d, (void)pkt; }
|
||||
static void pending_free(Dec *d) { d->phead = d->ptail = NULL; }
|
||||
|
||||
Reference in New Issue
Block a user