mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
Coldスタート時はアプリパラメータもクリア(矢田さんからの要望)。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@944 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
d3591577c8
commit
39a7a0b2fe
@ -277,7 +277,12 @@ void ReadLauncherParameter( void )
|
||||
SYSMi_GetWork()->flags.common.isValidLauncherParam = OS_ReadLauncherParameter( (LauncherParam *)&(SYSMi_GetWork()->launcherParam), &hot );
|
||||
SYSMi_GetWork()->flags.common.isHotStart = hot;
|
||||
// メインメモリのリセットパラメータをクリアしておく
|
||||
MI_CpuClear32( SYSMi_GetLauncherParamAddr(), 0x100 );
|
||||
MI_CpuClearFast( (void*)HW_PARAM_LAUNCH_PARAM, HW_PARAM_LAUNCH_PARAM_SIZE );
|
||||
// Coldスタート時はアプリパラメータもクリア
|
||||
if ( ! hot )
|
||||
{
|
||||
MI_CpuClearFast( (void*)HW_PARAM_DELIVER_ARG, HW_PARAM_DELIVER_ARG_SIZE );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user