mirror of
https://github.com/zeldaret/oot
synced 2026-07-09 14:45:41 -04: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:
@@ -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
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
|
||||
#include "ultra64.h"
|
||||
#include "irqmgr.h"
|
||||
#include "versions.h"
|
||||
|
||||
#define OS_SC_NEEDS_RDP 0x0001 // Task uses the RDP
|
||||
#define OS_SC_NEEDS_RSP 0x0002 // Task uses the RSP
|
||||
@@ -27,8 +28,10 @@ typedef struct CfbInfo {
|
||||
/* 0x10 */ u8 unk_10; // set to 0, never read
|
||||
/* 0x11 */ s8 updateRate; // how many VIs should elapse before next swap
|
||||
/* 0x12 */ s8 updateTimer; // counts down (in VIs) from updateRate to 0, swaps the framebuffer at 0
|
||||
#if OOT_VERSION >= PAL_1_0
|
||||
/* 0x14 */ f32 xScale;
|
||||
/* 0x18 */ f32 yScale;
|
||||
#endif
|
||||
} CfbInfo; // size = 0x1C
|
||||
|
||||
typedef struct OSScTask {
|
||||
|
||||
Reference in New Issue
Block a user