diff --git a/source/menu.cpp b/source/menu.cpp index 9a43930..0c28375 100644 --- a/source/menu.cpp +++ b/source/menu.cpp @@ -3110,6 +3110,7 @@ static int MenuSettingsVideo() sprintf(options.name[i++], "Screen Position"); sprintf(options.name[i++], "Crosshair"); sprintf(options.name[i++], "Video Mode"); + sprintf(options.name[i++], "Show Framerate"); options.length = i; #ifdef HW_DOL @@ -3197,6 +3198,10 @@ static int MenuSettingsVideo() if(GCSettings.videomode > 4) GCSettings.videomode = 0; break; + case 7: + Settings.AutoDisplayMessages ^= 1; + Settings.DisplayFrameRate ^= 1; + break; } if(ret >= 0 || firstRun) @@ -3238,6 +3243,7 @@ static int MenuSettingsVideo() case 4: sprintf (options.value[6], "PAL (60Hz)"); break; } + sprintf (options.value[7], "%s", Settings.DisplayFrameRate ? "On" : "Off"); optionBrowser.TriggerUpdate(); } diff --git a/source/snes9xgx.h b/source/snes9xgx.h index 175d3aa..1b2def5 100644 --- a/source/snes9xgx.h +++ b/source/snes9xgx.h @@ -20,7 +20,7 @@ #include "filelist.h" #define APPNAME "Snes9x GX" -#define APPVERSION "4.3.4" +#define APPVERSION "4.3.6" #define APPFOLDER "snes9xgx" #define PREF_FILE_NAME "settings.xml" @@ -80,9 +80,9 @@ enum { }; struct SGCSettings{ - int AutoLoad; - int AutoSave; - int LoadMethod; // For ROMS: Auto, SD, DVD, USB, Network (SMB) + int AutoLoad; + int AutoSave; + int LoadMethod; // For ROMS: Auto, SD, DVD, USB, Network (SMB) int SaveMethod; // For SRAM, Freeze, Prefs: Auto, SD, USB, SMB char LoadFolder[MAXPATHLEN]; // Path to game files char LastFileLoaded[MAXPATHLEN]; //Last file loaded filename