From b998bdbb36ebeca568e31efc03145f235d60bc12 Mon Sep 17 00:00:00 2001 From: dborth Date: Tue, 15 Sep 2009 06:56:25 +0000 Subject: [PATCH] increase max saves to 100 --- source/ngc/gui/gui.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/source/ngc/gui/gui.h b/source/ngc/gui/gui.h index 54e49f7..5310529 100644 --- a/source/ngc/gui/gui.h +++ b/source/ngc/gui/gui.h @@ -57,7 +57,7 @@ extern FreeTypeGX *fontSystem[]; #define FILE_PAGESIZE 10 #define PAGESIZE 8 #define SAVELISTSIZE 6 -#define MAX_SAVES 20 +#define MAX_SAVES 100 #define MAX_OPTIONS 150 #define MAX_KEYBOARD_DISPLAY 32 @@ -843,12 +843,12 @@ class GuiOptionBrowser : public GuiElement typedef struct _savelist { int length; - char filename[MAX_SAVES][256]; - GuiImageData * previewImg[MAX_SAVES]; - char date[MAX_SAVES][20]; - char time[MAX_SAVES][10]; - int type[MAX_SAVES]; - int files[2][100]; + char filename[MAX_SAVES+1][256]; + GuiImageData * previewImg[MAX_SAVES+1]; + char date[MAX_SAVES+1][20]; + char time[MAX_SAVES+1][10]; + int type[MAX_SAVES+1]; + int files[2][MAX_SAVES+1]; } SaveList; //!Display a list of game save files, with screenshots and file information