1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-03 06:24:30 +00:00

[ntsc-1.0/1.1] Match PAL 1.0 viconfig changes (#2231)

* [ntsc-1.0/1.1] Match viconfig changes

* SREG(48) -> R_VI_MODE_EDIT_STATE
This commit is contained in:
cadmic 2024-09-27 13:44:35 -07:00 committed by GitHub
parent 86a146db24
commit c6160e1980
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 148 additions and 40 deletions

View file

@ -5,6 +5,7 @@
#include "ultra64/gbi.h"
#include "sched.h"
#include "thga.h"
#include "versions.h"
// Texture memory size, 4 KiB
#define TMEM_SIZE 0x1000
@ -46,8 +47,10 @@ typedef struct GraphicsContext {
/* 0x02E8 */ s32 fbIdx;
/* 0x02EC */ void (*callback)(struct GraphicsContext*, void*);
/* 0x02F0 */ void* callbackParam;
#if OOT_VERSION >= PAL_1_0
/* 0x02F4 */ f32 xScale;
/* 0x02F8 */ f32 yScale;
#endif
/* 0x02FC */ char unk_2FC[0x04];
} GraphicsContext; // size = 0x300