- fix crash windows x64 build;
This commit is contained in:
mtabachenko 2012-05-01 10:37:59 +00:00
parent 1af87a2a68
commit 167c85ae4b
1 changed files with 1 additions and 1 deletions

View File

@ -1051,7 +1051,7 @@ void BackupDevice::loadfile()
if (advsc.isLoaded()) if (advsc.isLoaded())
{ {
info.type = advsc.getSaveType(); info.type = advsc.getSaveType();
if (info.type != 0xFF || info.type != 0xFE) if (info.type != 0xFF && info.type != 0xFE)
{ {
u32 adv_size = save_types[info.type+1][1]; u32 adv_size = save_types[info.type+1][1];
if (info.size > adv_size) if (info.size > adv_size)