mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
DHT_TEST時のデバッグコード修正のみ
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@1302 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
6af41fcb49
commit
efb4e52fed
@ -40,6 +40,9 @@ TARGET_LIB = libhotsw_sp$(TWL_LIBSUFFIX).a
|
|||||||
|
|
||||||
ifneq ($(DHT_TEST),)
|
ifneq ($(DHT_TEST),)
|
||||||
MACRO_FLAGS += -DDHT_TEST
|
MACRO_FLAGS += -DDHT_TEST
|
||||||
|
ifeq ($(DO_NOT_SHOW_LAUNCHER),TRUE)
|
||||||
|
MACRO_FLAGS += -DDO_NOT_SHOW_LAUNCHER
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs
|
include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs
|
||||||
|
|||||||
@ -959,14 +959,17 @@ static HotSwState LoadStaticModule(void)
|
|||||||
{
|
{
|
||||||
OS_Sleep(1);
|
OS_Sleep(1);
|
||||||
}
|
}
|
||||||
|
OS_SetDebugLED(0x00);
|
||||||
|
|
||||||
OS_TPrintf("Search DHT...");
|
OS_TPrintf("Searching DHT for %.4s(%02X)...", s_cbData.pBootSegBuf->rh.s.game_code, s_cbData.pBootSegBuf->rh.s.rom_version);
|
||||||
db = DHT_GetDatabase(dht, &s_cbData.pBootSegBuf->rh.s);
|
db = DHT_GetDatabase(dht, &s_cbData.pBootSegBuf->rh.s);
|
||||||
if ( !db )
|
if ( !db )
|
||||||
{
|
{
|
||||||
OS_TPrintf(" Failed.\n");
|
OS_TPrintf(" Failed.\n");
|
||||||
OS_SetDebugLED(0xFF);
|
OS_SetDebugLED(0xFF);
|
||||||
|
#ifdef DO_NOT_SHOW_LAUNCHER
|
||||||
while(1){ OS_WaitVBlankIntr(); }
|
while(1){ OS_WaitVBlankIntr(); }
|
||||||
|
#endif
|
||||||
return HOTSW_HASH_CHECK_ERROR;
|
return HOTSW_HASH_CHECK_ERROR;
|
||||||
}
|
}
|
||||||
OS_TPrintf(" Done.\n");
|
OS_TPrintf(" Done.\n");
|
||||||
@ -996,7 +999,9 @@ while(1){ OS_WaitVBlankIntr(); }
|
|||||||
{
|
{
|
||||||
OS_TPrintf(" Failed.\n");
|
OS_TPrintf(" Failed.\n");
|
||||||
OS_SetDebugLED(0xAA);
|
OS_SetDebugLED(0xAA);
|
||||||
|
#ifdef DO_NOT_SHOW_LAUNCHER
|
||||||
while(1){ OS_WaitVBlankIntr(); }
|
while(1){ OS_WaitVBlankIntr(); }
|
||||||
|
#endif
|
||||||
return HOTSW_HASH_CHECK_ERROR;
|
return HOTSW_HASH_CHECK_ERROR;
|
||||||
}
|
}
|
||||||
OS_TPrintf(" Done.\n");
|
OS_TPrintf(" Done.\n");
|
||||||
@ -1006,7 +1011,9 @@ while(1){ OS_WaitVBlankIntr(); }
|
|||||||
{
|
{
|
||||||
OS_TPrintf(" Failed.\n");
|
OS_TPrintf(" Failed.\n");
|
||||||
OS_SetDebugLED(0xCC);
|
OS_SetDebugLED(0xCC);
|
||||||
|
#ifdef DO_NOT_SHOW_LAUNCHER
|
||||||
while(1){ OS_WaitVBlankIntr(); }
|
while(1){ OS_WaitVBlankIntr(); }
|
||||||
|
#endif
|
||||||
return HOTSW_HASH_CHECK_ERROR;
|
return HOTSW_HASH_CHECK_ERROR;
|
||||||
}
|
}
|
||||||
OS_TPrintf(" Done.\n");
|
OS_TPrintf(" Done.\n");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user