Added swapdisc function, tested with TOS switching from disc 2 to disc 1. minor memcard manager cleanup

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1628 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
LPFaint99
2008-12-23 07:20:22 +00:00
parent 5510c207e6
commit b56f7a4682
5 changed files with 46 additions and 7 deletions

View File

@ -283,7 +283,7 @@ void CMemcardManager::CreateGUIControls()
if (strcasecmp(DefaultMemcard[i].c_str(), "."))
{
m_MemcardPath[i]->SetPath(wxString::FromAscii(DefaultMemcard[i].c_str()));
i?ChangePath(ID_MEMCARDPATH_B):ChangePath(ID_MEMCARDPATH_A);
ChangePath(ID_MEMCARDPATH_A + i);
}
}
}
@ -585,7 +585,7 @@ void CMemcardManager::CopyDeleteClick(wxCommandEvent& event)
}
break;
case ID_DELETE_A:
slot=SLOT_A;
slot = SLOT_A;
index = index_A;
case ID_DELETE_B:
if (index != wxNOT_FOUND)