mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-06 19:01:36 +03:00
bugfix for memorycard manager. fixes exporting from page > 1 on slot b, thanks to suloku for reporting
Signed-off-by: LPFaint99 <lpfaint99@gmail.com>
This commit is contained in:
parent
28bc5eca37
commit
603bd9982d
1 changed files with 1 additions and 1 deletions
|
@ -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 index_B = m_MemcardList[SLOT_B]->GetNextItem(-1, wxLIST_NEXT_ALL, wxLIST_STATE_SELECTED);
|
||||||
int slot = SLOT_B;
|
int slot = SLOT_B;
|
||||||
int slot2 = SLOT_A;
|
int slot2 = SLOT_A;
|
||||||
int index = index_B;
|
|
||||||
std::string fileName2("");
|
std::string fileName2("");
|
||||||
|
|
||||||
if (index_A != wxNOT_FOUND && page[SLOT_A]) index_A += itemsPerPage * page[SLOT_A];
|
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];
|
if (index_B != wxNOT_FOUND && page[SLOT_B]) index_B += itemsPerPage * page[SLOT_B];
|
||||||
|
|
||||||
|
int index = index_B;
|
||||||
switch (event.GetId())
|
switch (event.GetId())
|
||||||
{
|
{
|
||||||
case ID_COPYFROM_B:
|
case ID_COPYFROM_B:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue