From ed677a4a28edf264e033411568c193c0fceacc7c Mon Sep 17 00:00:00 2001 From: gijs Date: Fri, 20 Oct 2023 11:29:31 +0200 Subject: [PATCH] Correct size of `nusched` --- include/nu/nusys.h | 2 +- linker_scripts/symbols/addr.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/nu/nusys.h b/include/nu/nusys.h index 54dea96..43b0202 100644 --- a/include/nu/nusys.h +++ b/include/nu/nusys.h @@ -448,7 +448,7 @@ typedef struct st_Sched { /* Define the Scheduler structure. */ /* 0x679 */ u8 frameBufferNum; /* Number of frame buffers */ -} NUSched; // size = 0x67A +} NUSched; // size = 0x680 /*--------------------------------------*/ diff --git a/linker_scripts/symbols/addr.txt b/linker_scripts/symbols/addr.txt index 54b1acf..4f91daa 100644 --- a/linker_scripts/symbols/addr.txt +++ b/linker_scripts/symbols/addr.txt @@ -1,4 +1,4 @@ -nusched = 0x800E917C; // size:0x67A +nusched = 0x800E917C; // size:0x680 nuScRetraceCounter = 0x800C4BCC; nuScPreNMIFlag = 0x800C4800; nuScPreNMIFunc = 0x800A9E60;