mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-07-30 07:44:34 -04:00
Decompile osViGetNextFramebuffer
This commit is contained in:
@@ -139,6 +139,26 @@ typedef struct
|
||||
/* 0x2c */ u32 unk2c;
|
||||
} OSViContext;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
/* 0x0 */ f32 factor;
|
||||
/* 0x4 */ u16 offset;
|
||||
/* 0x8 */ u32 scale;
|
||||
} __OSViScale;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
/* 0x0 */ u16 state;
|
||||
/* 0x2 */ u16 retraceCount;
|
||||
/* 0x4 */ void *framep;
|
||||
/* 0x8 */ OSViMode *modep;
|
||||
/* 0xC */ u32 control;
|
||||
/* 0x10 */ OSMesgQueue *msgq;
|
||||
/* 0x14 */ OSMesg msg;
|
||||
/* 0x18 */ __OSViScale x;
|
||||
/* 0x24 */ __OSViScale y;
|
||||
} __OSViContext;
|
||||
|
||||
void osCreateViManager(OSPri pri);
|
||||
void osViSetMode(OSViMode *mode);
|
||||
void osViSetEvent(OSMesgQueue *mq, OSMesg msg, u32 retraceCount);
|
||||
|
||||
@@ -180,7 +180,7 @@ extern u32 var80060340;
|
||||
extern u32 var80060368;
|
||||
extern u32 var800608b0;
|
||||
extern u32 var80060910;
|
||||
extern u32 var80060914;
|
||||
extern __OSViContext *__osViNext;
|
||||
extern u32 __osThreadTail;
|
||||
extern u32 __osRunQueue;
|
||||
extern u32 __osActiveQueue;
|
||||
|
||||
Reference in New Issue
Block a user