aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/qt_sdl/PlatformConfig.cpp
diff options
context:
space:
mode:
authorArisotura <thetotalworm@gmail.com>2020-12-30 14:32:22 +0100
committerGitHub <noreply@github.com>2020-12-30 14:32:22 +0100
commit162a0f4fb6dafa51939b9f3dcfb030ac7c7bb73f (patch)
treef5a6a827f74285876424d5f191cde219fc53027a /src/frontend/qt_sdl/PlatformConfig.cpp
parentd2c04c5c511cca3daeed292a397a5ae8ae2aa6a7 (diff)
parent6adf1731c1d0463302bf2886df68dba2d056b73f (diff)
Merge pull request #918 from abcdjdj/open-recent
Add option to open recent files
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}