Fix for memcard manager, now exporting and copying, deleting saves on pages other than page one will work correctly

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1412 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
LPFaint99
2008-12-06 09:29:44 +00:00
parent 7b2e74b6fe
commit 5712a74ffd
2 changed files with 23 additions and 18 deletions

View File

@ -28,6 +28,8 @@
#include "MemoryCards/GCMemcard.h"
#undef MEMCARD_MANAGER_STYLE
#define MEMCARD_MANAGER_STYLE wxCAPTION | wxSYSTEM_MENU | wxDIALOG_NO_PARENT | wxCLOSE_BOX | wxRESIZE_BORDER | wxMAXIMIZE_BOX
#define ITEMSPERPAGE 16
#define MAXPAGES (128 / ITEMSPERPAGE) - 1
class CMemcardManager
: public wxDialog
@ -41,8 +43,8 @@ class CMemcardManager
DECLARE_EVENT_TABLE();
int page1,
page2;
int page0,
page1;
wxBoxSizer *sMain;
wxBoxSizer *sPagesLeft;