・ビルドスイッチDO_NOT_SHOW_LAUNCHERで、GUIを表示しないバージョンのLauncherをビルドするように変更

・LauncherのリセットをSelect+Start+Xに変更

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@878 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
yoshida_teruhisa 2008-03-13 06:55:52 +00:00
parent e2ce1df5b5
commit fc52f1763d
3 changed files with 16 additions and 1 deletions

View File

@ -77,6 +77,10 @@ endif
MAKETAD_FLAGS += -s
ifdef DO_NOT_SHOW_LAUNCHER
MACRO_FLAGS += -DDO_NOT_SHOW_LAUNCHER
endif
include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs
include $(TWLSDK_ROOT)/build/libraries/reboot/commondefs.reboot

View File

@ -558,7 +558,7 @@ static TitleProperty *ProcessPads( TitleProperty *pTitleList )
s_wavstop = FALSE;
}
if( pad.trg & PAD_BUTTON_B ) {
if( (pad.cont & (PAD_BUTTON_START | PAD_BUTTON_SELECT | PAD_BUTTON_X )) == (PAD_BUTTON_START | PAD_BUTTON_SELECT | PAD_BUTTON_X ) ) {
OS_DoApplicationJump( NULL, OS_APP_JUMP_NORMAL );
}

View File

@ -183,6 +183,17 @@ void TwlMain( void )
state = LOGODEMO_INIT;
}
// ランチャーを絶対表示しないバージョン
#ifdef DO_NOT_SHOW_LAUNCHER
if(direct_boot == FALSE)
{
state = STOP;
}else
{
state = LOAD_START;
}
#endif
// チャンネルをロックする
SND_LockChannel((1 << L_CHANNEL) | (1 << R_CHANNEL), 0);