マスタエディタ:ブロック数の計算方法を修正。

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlToolsRED@117 7061adef-622a-194b-ae81-725974e89856
This commit is contained in:
nishikawa_takeshi 2009-01-19 06:27:27 +00:00
parent 4cd1b1d319
commit 1bdef509d9
4 changed files with 3 additions and 6 deletions

View File

@ -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