diff --git a/desmume/src/mc.cpp b/desmume/src/mc.cpp index d2e222524..8fcb039fc 100644 --- a/desmume/src/mc.cpp +++ b/desmume/src/mc.cpp @@ -1051,7 +1051,7 @@ void BackupDevice::loadfile() if (advsc.isLoaded()) { 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]; if (info.size > adv_size)