mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
testsはFSベースに戻しておく(そうしないと単独で動かない)
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@1134 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
a07189ff5c
commit
c75063a422
@ -303,7 +303,7 @@ static BOOL ImageHMACSHA1Update(SVCHMACSHA1Context* ctx, s32 offset, s32 length,
|
|||||||
static BOOL GetOverlayInfo(int no, int fat_offset, int* pOffset, int* pLength)
|
static BOOL GetOverlayInfo(int no, int fat_offset, int* pOffset, int* pLength)
|
||||||
{
|
{
|
||||||
ROM_FAT *fat;
|
ROM_FAT *fat;
|
||||||
static u8 fat_cache[PAGE_SIZE];
|
static u8 fat_cache[PAGE_SIZE]; // 本当にページをまたがないのか?
|
||||||
static int last_page = 0;
|
static int last_page = 0;
|
||||||
int page = (fat_offset + no * (s32)sizeof(ROM_FAT)) / PAGE_SIZE;
|
int page = (fat_offset + no * (s32)sizeof(ROM_FAT)) / PAGE_SIZE;
|
||||||
if ( last_page != page )
|
if ( last_page != page )
|
||||||
|
|||||||
@ -50,7 +50,7 @@ static u8 rom_arm7[1024*1024] ATTRIBUTE_ALIGN(32);
|
|||||||
/*
|
/*
|
||||||
デバイスアクセスAPI
|
デバイスアクセスAPI
|
||||||
*/
|
*/
|
||||||
#if 0
|
#if 1
|
||||||
// FS版 (fctx == FSFile*)
|
// FS版 (fctx == FSFile*)
|
||||||
static BOOL ReadImage(void* dest, s32 offset, s32 length, void* arg)
|
static BOOL ReadImage(void* dest, s32 offset, s32 length, void* arg)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user