diff options
| author | fig02 <fig02srl@gmail.com> | 2024-12-15 11:07:21 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-15 11:07:21 -0500 |
| commit | ff78b1263b8d16da70031d04ff14af3431380b13 (patch) | |
| tree | bc36ce42fc75809c7495e227658294d4bf74e65a /src/code/sys_cfb.c | |
| parent | 2eb0b9151675c056b46c629ee10aca2331903866 (diff) | |
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
Diffstat (limited to 'src/code/sys_cfb.c')
| -rw-r--r-- | src/code/sys_cfb.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/code/sys_cfb.c b/src/code/sys_cfb.c index cbde146fa..9ad789176 100644 --- a/src/code/sys_cfb.c +++ b/src/code/sys_cfb.c @@ -1,4 +1,5 @@ #include "global.h" +#include "line_numbers.h" #pragma increment_block_number "gc-eu:128 gc-eu-mq:128 gc-jp:128 gc-jp-ce:128 gc-jp-mq:128 gc-us:128 gc-us-mq:128" \ "pal-1.1:128" @@ -33,15 +34,7 @@ void SysCfb_Init(s32 n64dd) { PRINTF("RAM4M mode\n"); sSysCfbEnd = 0x80400000; } else { -#if OOT_VERSION < NTSC_1_1 - LogUtils_HungupThread("../sys_cfb.c", 305); -#elif OOT_VERSION < PAL_1_0 - LogUtils_HungupThread("../sys_cfb.c", 308); -#elif OOT_VERSION < GC_JP - LogUtils_HungupThread("../sys_cfb.c", 322); -#else - LogUtils_HungupThread("../sys_cfb.c", 354); -#endif + LogUtils_HungupThread("../sys_cfb.c", LN4(305, 308, 322, 354)); } screenSize = SCREEN_WIDTH * SCREEN_HEIGHT; |
