mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
レーティング属性を全て「Free」に設定しました。
Rev2578がエンバグしていたためRev2577に戻しました。 git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2597 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
abaed320af
commit
8ae52c06af
@ -230,3 +230,38 @@ RomSpec
|
||||
Root /key
|
||||
File $(HWINFO_PRIVKEY) $(HWID_PRIVKEY)
|
||||
}
|
||||
|
||||
Rating
|
||||
{
|
||||
#
|
||||
# Permited age to play for each rating organization
|
||||
#
|
||||
# Supported organization
|
||||
# - CERO (OGN0) : for Japan
|
||||
# - ESRB (OGN1) : for North America
|
||||
# - BBFC (OGN2) : obsolete organization
|
||||
# - USK (OGN3) : for German
|
||||
# - PEGI_GEN (OGN4) : for Europe
|
||||
# - PEGI_FINLAND (OGN5) : obsolete organization
|
||||
# - PEGI_PRT (OGN6) : for Portugal
|
||||
# - PEGI_BBFC (OGN7) : for UK
|
||||
# - OFLC (OGN8) : for Australia and NewZealand
|
||||
# - GRB (OGN9) : for Korea
|
||||
# - OGN10 : reserved
|
||||
# - OGN11 : reserved
|
||||
# - OGN12 : reserved
|
||||
# - OGN13 : reserved
|
||||
# - OGN14 : reserved
|
||||
# - OGN15 : reserved
|
||||
#
|
||||
# Available age [ 0 - 31 / PENDING / FREE ]
|
||||
|
||||
CERO FREE
|
||||
ESRB FREE
|
||||
USK FREE
|
||||
PEGI_GEN FREE
|
||||
PEGI_PRT FREE
|
||||
PEGI_BBFC FREE
|
||||
OFLC FREE
|
||||
GRB FREE
|
||||
}
|
||||
|
||||
@ -70,32 +70,6 @@ BOOL kamiCopyFile(char* srcPath, char* dstPath)
|
||||
// ROMファイルクローズ
|
||||
FS_CloseFile(&file);
|
||||
|
||||
// ターゲットファイルオープン
|
||||
FS_InitFile(&file);
|
||||
if (FS_OpenFile(&file, dstPath))
|
||||
{
|
||||
void* pVerifyBuf;
|
||||
|
||||
// NANDファイルリード
|
||||
pVerifyBuf = OS_Alloc( alloc_size );
|
||||
SDK_NULL_ASSERT(pVerifyBuf);
|
||||
DC_InvalidateRange(pVerifyBuf, alloc_size);
|
||||
read_is_ok = FS_ReadFile( &file, pVerifyBuf, (s32)file_size );
|
||||
if (read_is_ok)
|
||||
{
|
||||
DC_FlushRange(pTempBuf, alloc_size);
|
||||
DC_FlushRange(pVerifyBuf, alloc_size);
|
||||
if (!MI_CpuComp8(pTempBuf, pVerifyBuf, file_size))
|
||||
{
|
||||
FS_CloseFile(&file);
|
||||
OS_Free(pTempBuf);
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
FS_CloseFile(&file);
|
||||
OS_Free(pTempBuf);
|
||||
}
|
||||
|
||||
// 一旦対象データを削除する
|
||||
(void)FS_DeleteFile(dstPath);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user