aboutsummaryrefslogtreecommitdiff
path: root/common/util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/util.cpp')
-rw-r--r--common/util.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/util.cpp b/common/util.cpp
index e238abe05f..d67027b873 100644
--- a/common/util.cpp
+++ b/common/util.cpp
@@ -193,6 +193,8 @@ const PlatformDescription g_platforms[] = {
{"segacd", "segacd", "SegaCD", kPlatformSegaCD},
{"windows", "win", "Windows", kPlatformWindows},
+ {"2GS", "2gs", "Apple IIgs", kPlatformApple2GS },
+
{0, 0, "Default", kPlatformUnknown}
};
@@ -320,7 +322,7 @@ bool enableSpecialDebugLevel(const String &option) {
void enableSpecialDebugLevelList(const String &option) {
uint start = 0;
uint end = 0;
-
+
const char *str = option.c_str();
for (end = start + 1; end <= option.size(); ++end) {
if (str[end] == ',' || end == option.size()) {