[Project64] Cleanup Rom Browser Class.cpp

This commit is contained in:
zilmar 2015-11-29 01:25:55 +11:00
parent 819b721eaf
commit 8acffb73e7
3 changed files with 1685 additions and 1685 deletions

View File

@ -707,11 +707,11 @@ void CRomBrowser::FillRomList(strlist & FileList, const CPath & BaseDirectory, c
for (int x = 0; x < 0x40; x += 4)
{
const size_t delimit_offset = sizeof("FFFFFFFF") - 1;
const char backup_character = szHeader[2*x + delimit_offset];
const char backup_character = szHeader[2 * x + delimit_offset];
szHeader[2*x + delimit_offset] = '\0';
*(uint32_t *)&RomData[x] = std::strtoul(&szHeader[2*x], NULL, 16);
szHeader[2*x + delimit_offset] = backup_character;
szHeader[2 * x + delimit_offset] = '\0';
*(uint32_t *)&RomData[x] = std::strtoul(&szHeader[2 * x], NULL, 16);
szHeader[2 * x + delimit_offset] = backup_character;
}
WriteTrace(TraceDebug, __FUNCTION__ ": 14");