Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
bugfix for memorycard manager. fixes exporting from page > 1 on slot …
…b, thanks to suloku for reporting

Signed-off-by: LPFaint99 <lpfaint99@gmail.com>
  • Loading branch information
LPFaint99 committed Aug 20, 2012
1 parent 28bc5ec commit 603bd99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/DolphinWX/Src/MemcardManager.cpp
Expand Up @@ -480,12 +480,12 @@ void CMemcardManager::CopyDeleteClick(wxCommandEvent& event)
int index_B = m_MemcardList[SLOT_B]->GetNextItem(-1, wxLIST_NEXT_ALL, wxLIST_STATE_SELECTED);
int slot = SLOT_B;
int slot2 = SLOT_A;
int index = index_B;
std::string fileName2("");

if (index_A != wxNOT_FOUND && page[SLOT_A]) index_A += itemsPerPage * page[SLOT_A];
if (index_B != wxNOT_FOUND && page[SLOT_B]) index_B += itemsPerPage * page[SLOT_B];

int index = index_B;
switch (event.GetId())
{
case ID_COPYFROM_B:
Expand Down

0 comments on commit 603bd99

Please sign in to comment.