mirror of
https://github.com/zeldaret/mm.git
synced 2026-05-23 06:54:14 -04:00
fa95f9e6e8
* Import bss to boot_main and idle, match last function in idle * Some pointer cleanup in idle, spec * Clean up idle, add build.c, add bss to CIC6105 * Import rand bss * sptask bss and a macro * sptask updated to use libultra macros * siacs.c bss * Macros in CIC and idle * controller bss * seteventmesg bss * spec * pimgr and piacs bss * initialize OK, threadsave, initialize, pimgr bss * Match DmaMgr_Start * Fix bss reorder using separate file * Small cleanup of hex/dec in buffer sizes * Add comment, remove unused bss from spec * Merge remote-tracking branch 'upstream/master' into boot_bss * Format * Delete files * remove commented-out structs * Bit more cleanup * Addressed reviews * Format
29 lines
547 B
C
29 lines
547 B
C
#ifndef _VIINT_H_
|
|
#define _VIINT_H_
|
|
|
|
// TODO should be in libultra/io
|
|
|
|
#include "PR/ultratypes.h"
|
|
#include "os.h"
|
|
|
|
// 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;
|
|
|
|
#endif
|