mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
マスタエディタ:サイズチェックのバグを修正。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2419 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
f138b3b7c5
commit
169cc0e49d
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,8 +1,8 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
// ビルドスイッチ
|
// ビルドスイッチ
|
||||||
#define METWL_VER_APPTYPE_USER
|
//#define METWL_VER_APPTYPE_USER
|
||||||
//#define METWL_VER_APPTYPE_SYSTEM
|
#define METWL_VER_APPTYPE_SYSTEM
|
||||||
//#define METWL_VER_APPTYPE_SECURE
|
//#define METWL_VER_APPTYPE_SECURE
|
||||||
//#define METWL_VER_APPTYPE_LAUNCHER
|
//#define METWL_VER_APPTYPE_LAUNCHER
|
||||||
|
|
||||||
|
|||||||
@ -935,7 +935,7 @@ ECSrlResult RCSrl::mrcTWL( FILE *fp )
|
|||||||
"デバイス容量", 0x14, 0x14, "NANDアプリに対して指定可能な容量ではありません。",
|
"デバイス容量", 0x14, 0x14, "NANDアプリに対して指定可能な容量ではありません。",
|
||||||
"Device Capacity", "Invalid capacity.", false, true ) );
|
"Device Capacity", "Invalid capacity.", false, true ) );
|
||||||
}
|
}
|
||||||
u32 allsizeMB = (filesize*1024*1024/8) + this->pRomHeader->s.public_save_data_size + this->pRomHeader->s.private_save_data_size;
|
u32 allsizeMB = filesize + this->pRomHeader->s.public_save_data_size + this->pRomHeader->s.private_save_data_size;
|
||||||
if( allsizeMB > METWL_ALLSIZE_MAX_NAND )
|
if( allsizeMB > METWL_ALLSIZE_MAX_NAND )
|
||||||
{
|
{
|
||||||
this->hErrorList->Add( gcnew RCMrcError(
|
this->hErrorList->Add( gcnew RCMrcError(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user