Reenable my change from r3999, works correctly now due to godisgovernment's change in r4437 (adding EXIDEVICE_NONE)

Fixes issue 1152.
Fixes issue 1229.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4913 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
LPFaint99 2010-01-21 06:35:58 +00:00
parent 6cdf13e6a7
commit 98583da7ba
1 changed files with 0 additions and 2 deletions

View File

@ -437,10 +437,8 @@ void CEXIMemoryCard::TransferByte(u8 &byte)
void CEXIMemoryCard::DoState(PointerWrap &p) void CEXIMemoryCard::DoState(PointerWrap &p)
{ {
#if 0 // Makes savestates worse for 1st party games (SMS, ZWW) but better for third party games
int slot = 0; int slot = 0;
if (GetFileName() == SConfig::GetInstance().m_strMemoryCardA) if (GetFileName() == SConfig::GetInstance().m_strMemoryCardA)
slot = 1; slot = 1;
ExpansionInterface::ChangeDevice(slot, slot ? EXIDEVICE_MEMORYCARD_B : EXIDEVICE_MEMORYCARD_A, 0); ExpansionInterface::ChangeDevice(slot, slot ? EXIDEVICE_MEMORYCARD_B : EXIDEVICE_MEMORYCARD_A, 0);
#endif
} }