From 5e78d6a88848a07636137920c5eb11b3dfc457c7 Mon Sep 17 00:00:00 2001 From: zeromus Date: Mon, 18 May 2009 05:07:38 +0000 Subject: [PATCH] savedata: handle warioware touched (still gathering test cases, keep them coming) win32: fix vs2005 fastbuild output directory --- desmume/src/mc.cpp | 1 + desmume/src/windows/DeSmuME_2005.vcproj | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/desmume/src/mc.cpp b/desmume/src/mc.cpp index a87430f2b..b95685fb3 100644 --- a/desmume/src/mc.cpp +++ b/desmume/src/mc.cpp @@ -596,6 +596,7 @@ void BackupDevice::reset_command() u32 autodetect_size = data_autodetect.size(); addr_size = autodetect_size - 1; if(autodetect_size==6) addr_size = 2; //castlevania dawn of sorrow 64kbit eeprom (EEPROM2 in the old system) + if(autodetect_size==258) addr_size = 2; //warioware touched if(addr_size>4) { LOG("Unexpected backup memory address size: %d\n",addr_size); diff --git a/desmume/src/windows/DeSmuME_2005.vcproj b/desmume/src/windows/DeSmuME_2005.vcproj index edb309a55..bf3f8dd73 100644 --- a/desmume/src/windows/DeSmuME_2005.vcproj +++ b/desmume/src/windows/DeSmuME_2005.vcproj @@ -206,8 +206,8 @@