mirror of
https://github.com/rvtr/TwlToolsRED.git
synced 2025-10-31 06:41:18 -04:00
マスタエディタ:ブロック数の計算方法を修正。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlToolsRED@117 7061adef-622a-194b-ae81-725974e89856
This commit is contained in:
parent
4cd1b1d319
commit
1bdef509d9
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -386,12 +386,9 @@ namespace MasterEditorTWL
|
||||
{
|
||||
System::UInt32 get()
|
||||
{
|
||||
System::UInt32 div = this->NandUsedSize / this->ShopBlockSize;
|
||||
if( this->NandUsedSize % this->ShopBlockSize )
|
||||
{
|
||||
div++;
|
||||
}
|
||||
return div;
|
||||
System::UInt32 blocks = MasterEditorTWL::roundUp( this->NandUsedSize, this->ShopBlockSize)
|
||||
/ this->ShopBlockSize;
|
||||
return blocks;
|
||||
}
|
||||
}
|
||||
}; //RCNandUsedSize
|
||||
|
||||
Loading…
Reference in New Issue
Block a user