BIOS/NAND UI changes (#1587)

* Remember the last folder for BIOS files
Add .mmc to the list of NAND filename extensions

* Add .sd file extension for SD images

* Fix UI code according to the review

---------

Co-authored-by: yeah-its-serena <32610623+yeah-its-serena@users.noreply.github.com>
This commit is contained in:
Gloria
2023-03-20 16:56:14 +01:00
committed by GitHub
parent 4ba7a2c5e6
commit 19280cff2d
3 changed files with 48 additions and 14 deletions

View File

@ -122,6 +122,7 @@ int MicInputType;
std::string MicWavPath;
std::string LastROMFolder;
std::string LastBIOSFolder;
std::string RecentROMList[10];
@ -294,6 +295,7 @@ ConfigEntry ConfigFile[] =
{"MicWavPath", 2, &MicWavPath, (std::string)"", false},
{"LastROMFolder", 2, &LastROMFolder, (std::string)"", true},
{"LastBIOSFolder", 2, &LastBIOSFolder, (std::string)"", true},
{"RecentROM_0", 2, &RecentROMList[0], (std::string)"", true},
{"RecentROM_1", 2, &RecentROMList[1], (std::string)"", true},