mirror of
https://github.com/GerbilSoft/rvthtool.git
synced 2025-06-18 19:45:35 -04:00
[librvth] extract.cpp: fix typo that caused incomplete extraction
This commit is contained in:
parent
4f9761837a
commit
9d3417a544
@ -302,7 +302,7 @@ int RvtH::copyToGcm(RvtH *rvth_dest, unsigned int bank_src, RvtH_Progress_Callba
|
||||
// Process any remaining LBAs.
|
||||
if (lba_count < lba_copy_len) {
|
||||
const unsigned int lba_left = lba_copy_len - lba_count;
|
||||
const unsigned int sz_left = static_cast<unsigned int>(BYTES_TO_LBA(lba_left));
|
||||
const unsigned int sz_left = static_cast<unsigned int>(LBA_TO_BYTES(lba_left));
|
||||
|
||||
if (callback) {
|
||||
bool bRet;
|
||||
|
Loading…
Reference in New Issue
Block a user