mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
(更新:Akabane Jumpei)
・Romエミュレーション情報読み関数を修正 その2 git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@432 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
9b84321cf0
commit
2823f32678
@ -12,10 +12,6 @@
|
||||
#define SECURE_SEGMENT_NUM 4
|
||||
#define ONE_SEGMENT_PAGE_NUM 8
|
||||
#define COMMAND_DECRYPTION_WAIT 25 // 25ms
|
||||
#define ROM_EMULATION_START_OFS 0x160
|
||||
#define ROM_EMULATION_END_OFS 0x180
|
||||
|
||||
|
||||
|
||||
// Function prototype -------------------------------------------------------
|
||||
static void SetSecureCommand(SecureCommandType type, CardBootData *cbd);
|
||||
|
||||
@ -29,6 +29,9 @@
|
||||
|
||||
#define DIGEST_HASH_BLOCK_SIZE_SHA1 (512/8)
|
||||
|
||||
#define ROM_EMULATION_START_OFS 0x160
|
||||
#define ROM_EMULATION_END_OFS 0x180
|
||||
|
||||
// Function prototype -------------------------------------------------------
|
||||
static BOOL IsCardExist(void);
|
||||
|
||||
@ -575,7 +578,7 @@ static void ReadRomEmulationData(void)
|
||||
{
|
||||
u32 count=0;
|
||||
u32 temp;
|
||||
u32 *dst = &s_cbData.romEmuBuf;
|
||||
u32 *dst = s_cbData.romEmuBuf;
|
||||
|
||||
// MCCMD レジスタ設定
|
||||
reg_HOTSW_MCCMD0 = 0x3e000000;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user