mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
DHT_TEST関連で、maketadのデータ対応によりattach_dummyheaderをやめたのでROMヘッダのSEEKも削除
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@1354 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
64dfa00400
commit
2f7387e82e
@ -157,7 +157,9 @@ void SYSMi_PrepareDatabase(void)
|
|||||||
FSFile file;
|
FSFile file;
|
||||||
if ( FS_OpenFileEx(&file, path, FS_FILEMODE_R) )
|
if ( FS_OpenFileEx(&file, path, FS_FILEMODE_R) )
|
||||||
{
|
{
|
||||||
|
#if 0 // 1 if using attach_dummyromheader
|
||||||
if ( FS_SeekFile(&file, sizeof(ROM_Header), FS_SEEK_SET) )
|
if ( FS_SeekFile(&file, sizeof(ROM_Header), FS_SEEK_SET) )
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
DHT_PrepareDatabase(dht, &file);
|
DHT_PrepareDatabase(dht, &file);
|
||||||
DC_FlushRange(dht, DHT_GetDatabaseLength(dht));
|
DC_FlushRange(dht, DHT_GetDatabaseLength(dht));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user