aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/qt_sdl/PlatformConfig.cpp
diff options
context:
space:
mode:
authorWaluigiWare64 <68647953+WaluigiWare64@users.noreply.github.com>2021-01-03 15:53:23 +0000
committerGitHub <noreply@github.com>2021-01-03 15:53:23 +0000
commit83648f2d3109bf16ac6f2317ab772803af11f482 (patch)
treee8207c55c4ae052ba07713892e998ab9050e9301 /src/frontend/qt_sdl/PlatformConfig.cpp
parentf070eafce473c49979cfe8ec1d2dd65de9084884 (diff)
parentcb58a422ac59f40825f7a7c2e9b75237eb04637d (diff)
Merge branch 'master' into feature/zip-support
Diffstat (limited to 'src/frontend/qt_sdl/PlatformConfig.cpp')
-rw-r--r--src/frontend/qt_sdl/PlatformConfig.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/frontend/qt_sdl/PlatformConfig.cpp b/src/frontend/qt_sdl/PlatformConfig.cpp
index 9861662..46f8717 100644
--- a/src/frontend/qt_sdl/PlatformConfig.cpp
+++ b/src/frontend/qt_sdl/PlatformConfig.cpp
@@ -72,6 +72,8 @@ char MicWavPath[1024];
char LastROMFolder[1024];
+char RecentROMList[10][1024];
+
int EnableCheats;
bool EnableJIT;
@@ -166,6 +168,17 @@ ConfigEntry PlatformConfigFile[] =
{"LastROMFolder", 1, LastROMFolder, 0, "", 1023},
+ {"RecentROM_0", 1, RecentROMList[0], 0, "", 1023},
+ {"RecentROM_1", 1, RecentROMList[1], 0, "", 1023},
+ {"RecentROM_2", 1, RecentROMList[2], 0, "", 1023},
+ {"RecentROM_3", 1, RecentROMList[3], 0, "", 1023},
+ {"RecentROM_4", 1, RecentROMList[4], 0, "", 1023},
+ {"RecentROM_5", 1, RecentROMList[5], 0, "", 1023},
+ {"RecentROM_6", 1, RecentROMList[6], 0, "", 1023},
+ {"RecentROM_7", 1, RecentROMList[7], 0, "", 1023},
+ {"RecentROM_8", 1, RecentROMList[8], 0, "", 1023},
+ {"RecentROM_9", 1, RecentROMList[9], 0, "", 1023},
+
{"EnableCheats", 0, &EnableCheats, 0, NULL, 0},
{"", -1, NULL, 0, NULL, 0}