From 167c85ae4bdda97ec3a7236d8ac0698c2163a238 Mon Sep 17 00:00:00 2001 From: mtabachenko Date: Tue, 1 May 2012 10:37:59 +0000 Subject: [PATCH] JIT: - fix crash windows x64 build; --- desmume/src/mc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)