mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-11-24 03:29:22 +01:00
increase max saves to 100
This commit is contained in:
parent
55cd167c92
commit
d07f125224
@ -57,7 +57,7 @@ extern FreeTypeGX *fontSystem[];
|
|||||||
#define FILE_PAGESIZE 10
|
#define FILE_PAGESIZE 10
|
||||||
#define PAGESIZE 8
|
#define PAGESIZE 8
|
||||||
#define SAVELISTSIZE 6
|
#define SAVELISTSIZE 6
|
||||||
#define MAX_SAVES 20
|
#define MAX_SAVES 100
|
||||||
#define MAX_OPTIONS 150
|
#define MAX_OPTIONS 150
|
||||||
#define MAX_KEYBOARD_DISPLAY 32
|
#define MAX_KEYBOARD_DISPLAY 32
|
||||||
|
|
||||||
@ -843,12 +843,12 @@ class GuiOptionBrowser : public GuiElement
|
|||||||
|
|
||||||
typedef struct _savelist {
|
typedef struct _savelist {
|
||||||
int length;
|
int length;
|
||||||
char filename[MAX_SAVES][256];
|
char filename[MAX_SAVES+1][256];
|
||||||
GuiImageData * previewImg[MAX_SAVES];
|
GuiImageData * previewImg[MAX_SAVES+1];
|
||||||
char date[MAX_SAVES][20];
|
char date[MAX_SAVES+1][20];
|
||||||
char time[MAX_SAVES][10];
|
char time[MAX_SAVES+1][10];
|
||||||
int type[MAX_SAVES];
|
int type[MAX_SAVES+1];
|
||||||
int files[2][100];
|
int files[2][MAX_SAVES+1];
|
||||||
} SaveList;
|
} SaveList;
|
||||||
|
|
||||||
//!Display a list of game save files, with screenshots and file information
|
//!Display a list of game save files, with screenshots and file information
|
||||||
|
Loading…
Reference in New Issue
Block a user