From 10d783191747807f8925b2a233b796b03a1e0437 Mon Sep 17 00:00:00 2001 From: Arisotura Date: Sat, 8 Jan 2022 12:53:06 +0100 Subject: can we, please, FINALLY, be done with this stupid issue --- src/frontend/qt_sdl/Config.cpp | 64 +++++++++++++++++++++--------------------- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/src/frontend/qt_sdl/Config.cpp b/src/frontend/qt_sdl/Config.cpp index a64fc27..2c91e32 100644 --- a/src/frontend/qt_sdl/Config.cpp +++ b/src/frontend/qt_sdl/Config.cpp @@ -237,41 +237,41 @@ ConfigEntry ConfigFile[] = {"ExternalBIOSEnable", 1, &ExternalBIOSEnable, false}, - {"BIOS9Path", 2, &BIOS9Path, std::string("")}, - {"BIOS7Path", 2, &BIOS7Path, std::string("")}, - {"FirmwarePath", 2, &FirmwarePath, std::string("")}, + {"BIOS9Path", 2, &BIOS9Path, (std::string)""}, + {"BIOS7Path", 2, &BIOS7Path, (std::string)""}, + {"FirmwarePath", 2, &FirmwarePath, (std::string)""}, - {"DSiBIOS9Path", 2, &DSiBIOS9Path, std::string("")}, - {"DSiBIOS7Path", 2, &DSiBIOS7Path, std::string("")}, - {"DSiFirmwarePath", 2, &DSiFirmwarePath, std::string("")}, - {"DSiNANDPath", 2, &DSiNANDPath, std::string("")}, + {"DSiBIOS9Path", 2, &DSiBIOS9Path, (std::string)""}, + {"DSiBIOS7Path", 2, &DSiBIOS7Path, (std::string)""}, + {"DSiFirmwarePath", 2, &DSiFirmwarePath, (std::string)""}, + {"DSiNANDPath", 2, &DSiNANDPath, (std::string)""}, {"DLDIEnable", 1, &DLDIEnable, false}, - {"DLDISDPath", 2, &DLDISDPath, std::string("dldi.bin")}, + {"DLDISDPath", 2, &DLDISDPath, (std::string)"dldi.bin"}, {"DLDISize", 0, &DLDISize, 0}, {"DLDIReadOnly", 1, &DLDIReadOnly, false}, {"DLDIFolderSync", 1, &DLDIFolderSync, false}, - {"DLDIFolderPath", 2, &DLDIFolderPath, std::string("")}, + {"DLDIFolderPath", 2, &DLDIFolderPath, (std::string)""}, {"DSiSDEnable", 1, &DSiSDEnable, false}, - {"DSiSDPath", 2, &DSiSDPath, std::string("dsisd.bin")}, + {"DSiSDPath", 2, &DSiSDPath, (std::string)"dsisd.bin"}, {"DSiSDSize", 0, &DSiSDSize, 0}, {"DSiSDReadOnly", 1, &DSiSDReadOnly, false}, {"DSiSDFolderSync", 1, &DSiSDFolderSync, false}, {"DSiSDFolderPath", 2, &DSiSDFolderPath, ""}, {"FirmwareOverrideSettings", 1, &FirmwareOverrideSettings, false}, - {"FirmwareUsername", 2, &FirmwareUsername, std::string("melonDS")}, + {"FirmwareUsername", 2, &FirmwareUsername, (std::string)"melonDS"}, {"FirmwareLanguage", 0, &FirmwareLanguage, 1}, {"FirmwareBirthdayMonth", 0, &FirmwareBirthdayMonth, 1}, {"FirmwareBirthdayDay", 0, &FirmwareBirthdayDay, 1}, {"FirmwareFavouriteColour", 0, &FirmwareFavouriteColour, 0}, - {"FirmwareMessage", 2, &FirmwareMessage, std::string("")}, - {"FirmwareMAC", 2, &FirmwareMAC, std::string("")}, + {"FirmwareMessage", 2, &FirmwareMessage, (std::string)""}, + {"FirmwareMAC", 2, &FirmwareMAC, (std::string)""}, {"RandomizeMAC", 1, &RandomizeMAC, false}, {"SockBindAnyAddr", 1, &SocketBindAnyAddr, false}, - {"LANDevice", 2, &LANDevice, std::string("")}, + {"LANDevice", 2, &LANDevice, (std::string)""}, {"DirectLAN", 1, &DirectLAN, false}, {"SavStaRelocSRAM", 1, &SavestateRelocSRAM, false}, @@ -280,24 +280,24 @@ ConfigEntry ConfigFile[] = {"AudioBitrate", 0, &AudioBitrate, 0}, {"AudioVolume", 0, &AudioVolume, 256}, {"MicInputType", 0, &MicInputType, 1}, - {"MicWavPath", 2, &MicWavPath, std::string("")}, - - {"LastROMFolder", 2, &LastROMFolder, std::string("")}, - - {"RecentROM_0", 2, &RecentROMList[0], std::string("")}, - {"RecentROM_1", 2, &RecentROMList[1], std::string("")}, - {"RecentROM_2", 2, &RecentROMList[2], std::string("")}, - {"RecentROM_3", 2, &RecentROMList[3], std::string("")}, - {"RecentROM_4", 2, &RecentROMList[4], std::string("")}, - {"RecentROM_5", 2, &RecentROMList[5], std::string("")}, - {"RecentROM_6", 2, &RecentROMList[6], std::string("")}, - {"RecentROM_7", 2, &RecentROMList[7], std::string("")}, - {"RecentROM_8", 2, &RecentROMList[8], std::string("")}, - {"RecentROM_9", 2, &RecentROMList[9], std::string("")}, - - {"SaveFilePath", 2, &SaveFilePath, std::string("")}, - {"SavestatePath", 2, &SavestatePath, std::string("")}, - {"CheatFilePath", 2, &CheatFilePath, std::string("")}, + {"MicWavPath", 2, &MicWavPath, (std::string)""}, + + {"LastROMFolder", 2, &LastROMFolder, (std::string)""}, + + {"RecentROM_0", 2, &RecentROMList[0], (std::string)""}, + {"RecentROM_1", 2, &RecentROMList[1], (std::string)""}, + {"RecentROM_2", 2, &RecentROMList[2], (std::string)""}, + {"RecentROM_3", 2, &RecentROMList[3], (std::string)""}, + {"RecentROM_4", 2, &RecentROMList[4], (std::string)""}, + {"RecentROM_5", 2, &RecentROMList[5], (std::string)""}, + {"RecentROM_6", 2, &RecentROMList[6], (std::string)""}, + {"RecentROM_7", 2, &RecentROMList[7], (std::string)""}, + {"RecentROM_8", 2, &RecentROMList[8], (std::string)""}, + {"RecentROM_9", 2, &RecentROMList[9], (std::string)""}, + + {"SaveFilePath", 2, &SaveFilePath, (std::string)""}, + {"SavestatePath", 2, &SavestatePath, (std::string)""}, + {"CheatFilePath", 2, &CheatFilePath, (std::string)""}, {"EnableCheats", 1, &EnableCheats, false}, -- cgit v1.2.3