mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-11 09:20:17 +00:00
Add macros for line number differences (#2365)
* initial work, think I got all of them * cleanup line_numbers.h * fix gc-eu-mq-dbg * fix matching problems * remove old lines * format * missed some stuff * comment fixes * other * review changes
This commit is contained in:
parent
2eb0b91516
commit
ff78b1263b
13 changed files with 111 additions and 144 deletions
|
@ -5,6 +5,7 @@
|
|||
#include "n64dd.h"
|
||||
#include "stack.h"
|
||||
#include "versions.h"
|
||||
#include "line_numbers.h"
|
||||
|
||||
#pragma increment_block_number "ntsc-1.0:128 ntsc-1.1:128 ntsc-1.2:128 pal-1.0:128 pal-1.1:128"
|
||||
|
||||
|
@ -112,14 +113,9 @@ void func_801C6FD8(void) {
|
|||
// Adds a HungupAndCrash
|
||||
void func_801C7018(void) {
|
||||
if (D_80121213 != 0) {
|
||||
#if OOT_VERSION < NTSC_1_1
|
||||
Fault_AddHungupAndCrash("../z_n64dd.c", 503);
|
||||
#elif OOT_VERSION < PAL_1_0
|
||||
Fault_AddHungupAndCrash("../z_n64dd.c", 551);
|
||||
#else
|
||||
Fault_AddHungupAndCrash("../z_n64dd.c", 573);
|
||||
#endif
|
||||
Fault_AddHungupAndCrash("../z_n64dd.c", LN2(503, 551, 573));
|
||||
}
|
||||
|
||||
D_80121213 = 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue