aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRSDuck <RSDuck@users.noreply.github.com>2021-11-17 22:59:28 +0100
committerRSDuck <RSDuck@users.noreply.github.com>2021-11-17 22:59:28 +0100
commit3be26f456bd0c36be4927bc19d80c9cd896fa908 (patch)
treec6e6c62377f9df8b162f0843b1c6833053b62ac2 /src
parentd5b248bb863570f46a394ea7e217deb9666402fd (diff)
prevent out of bounds write
Diffstat (limited to 'src')
-rw-r--r--src/frontend/qt_sdl/PlatformConfig.cpp4
-rw-r--r--src/frontend/qt_sdl/PlatformConfig.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/frontend/qt_sdl/PlatformConfig.cpp b/src/frontend/qt_sdl/PlatformConfig.cpp
index 48d810d..41efe6b 100644
--- a/src/frontend/qt_sdl/PlatformConfig.cpp
+++ b/src/frontend/qt_sdl/PlatformConfig.cpp
@@ -97,7 +97,7 @@ int DSiSDFolderSync;
char DSiSDFolderPath[1024];
int RandomizeMAC;
-bool FirmwareOverrideSettings;
+int FirmwareOverrideSettings;
char FirmwareUsername[64];
int FirmwareLanguage;
int FirmwareBirthdayMonth;
@@ -127,7 +127,7 @@ int MouseHideSeconds;
int PauseLostFocus;
-bool EnableJIT;
+int EnableJIT;
ConfigEntry PlatformConfigFile[] =
{
diff --git a/src/frontend/qt_sdl/PlatformConfig.h b/src/frontend/qt_sdl/PlatformConfig.h
index 514a2da..9fe7bbb 100644
--- a/src/frontend/qt_sdl/PlatformConfig.h
+++ b/src/frontend/qt_sdl/PlatformConfig.h
@@ -113,7 +113,7 @@ extern int DSiSDFolderSync;
extern char DSiSDFolderPath[1024];
extern int RandomizeMAC;
-extern bool FirmwareOverrideSettings;
+extern int FirmwareOverrideSettings;
extern char FirmwareUsername[64];
extern int FirmwareLanguage;
extern int FirmwareBirthdayMonth;