mirror of
https://github.com/dborth/vbagx.git
synced 2024-11-22 18:49:18 +01:00
increase max saves to 100
This commit is contained in:
parent
be27c9f411
commit
b998bdbb36
@ -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