diff --git a/build/nandfirm/menu-launcher/ARM9/main.c b/build/nandfirm/menu-launcher/ARM9/main.c index efbd5ff2..b3c785fb 100644 --- a/build/nandfirm/menu-launcher/ARM9/main.c +++ b/build/nandfirm/menu-launcher/ARM9/main.c @@ -121,7 +121,7 @@ static BOOL CheckHeader(void) static ROM_Header_Short* const rhs = (ROM_Header_Short*)HW_TWL_ROM_HEADER_BUF; // TODO // イニシャルコード - OS_TPrintf("Initial Code : %08X\n", rhs->game_code); + OS_TPrintf("Initial Code : %08X\n", *(u32*)rhs->game_code); // エントリポイント OS_TPrintf("ARM9 Entry point : %08X\n", rhs->main_entry_address); OS_TPrintf("ARM7 Entry point : %08X\n", rhs->sub_entry_address); diff --git a/build/nandfirm/menu-launcher2/ARM9/main.c b/build/nandfirm/menu-launcher2/ARM9/main.c index ae7749ad..56776cc2 100644 --- a/build/nandfirm/menu-launcher2/ARM9/main.c +++ b/build/nandfirm/menu-launcher2/ARM9/main.c @@ -123,7 +123,7 @@ static BOOL CheckHeader(void) static ROM_Header_Short* const rhs = (ROM_Header_Short*)HW_TWL_ROM_HEADER_BUF; // TODO // イニシャルコード - OS_TPrintf("Initial Code : %08X\n", rhs->game_code); + OS_TPrintf("Initial Code : %08X\n", *(u32*)rhs->game_code); // エントリポイント OS_TPrintf("ARM9 Entry point : %08X\n", rhs->main_entry_address); OS_TPrintf("ARM7 Entry point : %08X\n", rhs->sub_entry_address);