mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
(ImportJump) 前回起動したソフトのTitleIDとplatformCodeを書き換える処理を追加。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2381 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
98acfbefbd
commit
e769be7b77
@ -20,6 +20,7 @@
|
||||
#include <twl/fatfs.h>
|
||||
#include <nitro/card.h>
|
||||
#include <twl/nam.h>
|
||||
#include <twl/lcfg.h>
|
||||
#include <twl/os/common/format_rom.h>
|
||||
#include <sysmenu/namut.h>
|
||||
|
||||
@ -136,6 +137,13 @@ TwlMain()
|
||||
break;
|
||||
}
|
||||
|
||||
// 前回起動したソフトのplatformCodeがNITROだとアプリジャンプに失敗する。
|
||||
// デバッガ動作時はランチャーが前回起動したソフトのplatformCode & TitleID を
|
||||
// 更新しないためImportJump自身が更新しておく。NANDへの反映はkamiImportTad()
|
||||
// の中で行われる。
|
||||
LCFG_TSD_SetLastTimeBootSoftPlatform( PLATFORM_CODE_TWL_LIMITED );
|
||||
LCFG_TSD_SetLastTimeBootSoftTitleID( OS_GetTitleId() );
|
||||
|
||||
// TADのインポート開始
|
||||
if (kamiImportTad(&titleID))
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user