mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-11 01:10:33 +00:00
[ntsc-1.0/1.1] Match line numbers in debug strings (#2255)
This commit is contained in:
parent
7dd8f2b6ad
commit
2048a65dd8
11 changed files with 86 additions and 28 deletions
|
@ -112,9 +112,9 @@ void func_801C6FD8(void) {
|
|||
// Adds a HungupAndCrash
|
||||
void func_801C7018(void) {
|
||||
if (D_80121213 != 0) {
|
||||
#if OOT_VERSION == NTSC_1_0
|
||||
#if OOT_VERSION < NTSC_1_1
|
||||
Fault_AddHungupAndCrash("../z_n64dd.c", 503);
|
||||
#elif OOT_VERSION == NTSC_1_1
|
||||
#elif OOT_VERSION < PAL_1_0
|
||||
Fault_AddHungupAndCrash("../z_n64dd.c", 551);
|
||||
#else
|
||||
Fault_AddHungupAndCrash("../z_n64dd.c", 573);
|
||||
|
@ -215,7 +215,7 @@ void func_801C7268(void) {
|
|||
} else if (B_801D9DC8 != 0) {
|
||||
B_801D9DC8 = 0;
|
||||
}
|
||||
#if OOT_VERSION == NTSC_1_0
|
||||
#if OOT_VERSION < NTSC_1_1
|
||||
if (B_801D9DC0 != 0) {
|
||||
sp1C = (osGetTime() - B_801D9DC0) * 64 / 3000;
|
||||
|
||||
|
@ -338,7 +338,7 @@ s32 func_801C7658(void) {
|
|||
B_801D9D50.unk_00 = 13;
|
||||
(&func_801C8000)(&B_801D9D50);
|
||||
|
||||
#if OOT_VERSION > NTSC_1_1
|
||||
#if OOT_VERSION >= PAL_1_0
|
||||
StackCheck_Init(&B_801DAF88, B_801D9F88, STACK_TOP(B_801D9F88), 0, 0x100, "ddmsg");
|
||||
osCreateThread(&B_801D9DD8, THREAD_ID_DDMSG, &func_801C711C, &B_801D9B90, STACK_TOP(B_801D9F88), THREAD_PRI_DDMSG);
|
||||
osStartThread(&B_801D9DD8);
|
||||
|
@ -519,7 +519,7 @@ void func_801C7C1C(void* dest, s32 offset, s32 size) {
|
|||
bcopy((u8*)sp4C, (u8*)dest + func_801C7BEC(sp5C) - sp54 + var_s1, sp50);
|
||||
}
|
||||
}
|
||||
#if OOT_VERSION == NTSC_1_0
|
||||
#if OOT_VERSION < NTSC_1_1
|
||||
if (B_801D9DC0 != 0) {
|
||||
temp_v1_2 = (osGetTime() - B_801D9DC0) * 64 / 3000;
|
||||
if (1000000 - temp_v1_2 > 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue