diff --git a/include/arm9/debug.h b/include/arm9/debug.h index 9719422..80a2e84 100644 --- a/include/arm9/debug.h +++ b/include/arm9/debug.h @@ -2,7 +2,7 @@ #include "types.h" -void hashCodeRoData(); +void debugHashCodeRoData(); noreturn void panic(); noreturn void panicMsg(const char *msg); void dumpMem(u8 *mem, u32 size, char *filepath); diff --git a/include/arm9/firm.h b/include/arm9/firm.h index ba33ad0..3f871d3 100644 --- a/include/arm9/firm.h +++ b/include/arm9/firm.h @@ -25,19 +25,6 @@ u8 signature[0x100]; } firm_header; -// TODO -/* -// , -const u32 firmVersionTable[] = { - 0, 0 -}; - -// < -const u32 firmVersionStringTable[] = { - 0, 0 -}; -*/ - bool firm_size(size_t *size); bool firm_verify(u32 fwSize, bool skipHashCheck, bool printInfo); noreturn void firm_launch(void); diff --git a/include/arm9/main.h b/include/arm9/main.h index d5fe05e..4e92f95 100644 --- a/include/arm9/main.h +++ b/include/arm9/main.h @@ -1,6 +1,6 @@ #pragma once -#include "arm9/debug.h" // TODO: remove after debugging +#include "arm9/debug.h" #include "fatfs/ff.h" #include "arm9/ui.h" diff --git a/source/arm9/debug.c b/source/arm9/debug.c index dde06c5..e2a0118 100644 --- a/source/arm9/debug.c +++ b/source/arm9/debug.c @@ -11,7 +11,7 @@ static u32 debugHash = 0; -void hashCodeRoData() +void debugHashCodeRoData() { #ifndef NDEBUG extern u32 *__start__; @@ -72,7 +72,7 @@ // verify text and rodata u32 prevHash = debugHash; - hashCodeRoData(); + debugHashCodeRoData(); if(prevHash != debugHash) codeChanged = true; diff --git a/source/arm9/main.c b/source/arm9/main.c index b997d80..16c17e6 100644 --- a/source/arm9/main.c +++ b/source/arm9/main.c @@ -30,7 +30,7 @@ hardwareInit(); - hashCodeRoData(); // TODO: remove after debugging + debugHashCodeRoData(); screen_init();