1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-10 17:00:19 +00:00

variables.h cleaning: migrate libultra variables (#2503)

* variables.h cleaning: migrate libultra variables

* another increment_block_number

* fix bss
This commit is contained in:
fig02 2025-04-06 22:32:40 -04:00 committed by GitHub
parent 5133db15a3
commit 80564bf40b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
37 changed files with 165 additions and 94 deletions

View file

@ -1,5 +1,7 @@
#include "global.h"
extern s32 osViClock;
/**
* Programs the operating frequency of the Audio DAC.
*

View file

@ -1,4 +1,4 @@
#include "global.h"
#include "ultra64.h"
void osViExtendVStart(u32 value) {
__additional_scanline = value;

View file

@ -10,10 +10,13 @@ typedef struct __osExceptionVector {
extern __osExceptionVector __osExceptionPreamble;
extern OSPiHandle __Dom1SpeedParam;
extern OSPiHandle __Dom2SpeedParam;
u64 osClockRate = OS_CLOCK_RATE;
s32 osViClock = VI_NTSC_CLOCK;
u32 __osShutdown = false;
OSHWIntr __OSGlobalIntMask = OS_IM_ALL;
OSIntMask __OSGlobalIntMask = OS_IM_ALL;
u32 __osFinalrom;