mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-04-24 15:24:37 -05:00
MainSettings: Add a fifth GBA ROM config path for GBPlayer.
This commit is contained in:
parent
a95b18211b
commit
19157cacd5
|
|
@ -398,11 +398,13 @@ void SetIsoPaths(const std::vector<std::string>& paths)
|
|||
|
||||
#ifdef HAS_LIBMGBA
|
||||
const Info<std::string> MAIN_GBA_BIOS_PATH{{System::Main, "GBA", "BIOS"}, ""};
|
||||
const std::array<Info<std::string>, 4> MAIN_GBA_ROM_PATHS{
|
||||
const std::array<Info<std::string>, 5> MAIN_GBA_ROM_PATHS{
|
||||
Info<std::string>{{System::Main, "GBA", "Rom1"}, ""},
|
||||
Info<std::string>{{System::Main, "GBA", "Rom2"}, ""},
|
||||
Info<std::string>{{System::Main, "GBA", "Rom3"}, ""},
|
||||
Info<std::string>{{System::Main, "GBA", "Rom4"}, ""}};
|
||||
Info<std::string>{{System::Main, "GBA", "Rom4"}, ""},
|
||||
Info<std::string>{{System::Main, "GBA", "GBPlayerRom"}, ""},
|
||||
};
|
||||
const Info<std::string> MAIN_GBA_SAVES_PATH{{System::Main, "GBA", "SavesPath"}, ""};
|
||||
const Info<bool> MAIN_GBA_SAVES_IN_ROM_PATH{{System::Main, "GBA", "SavesInRomPath"}, false};
|
||||
const Info<bool> MAIN_GBA_THREADS{{System::Main, "GBA", "Threads"}, true};
|
||||
|
|
|
|||
|
|
@ -224,10 +224,12 @@ void SetIsoPaths(const std::vector<std::string>& paths);
|
|||
|
||||
#ifdef HAS_LIBMGBA
|
||||
extern const Info<std::string> MAIN_GBA_BIOS_PATH;
|
||||
extern const std::array<Info<std::string>, 4> MAIN_GBA_ROM_PATHS;
|
||||
extern const std::array<Info<std::string>, 5> MAIN_GBA_ROM_PATHS;
|
||||
extern const Info<std::string> MAIN_GBA_SAVES_PATH;
|
||||
extern const Info<bool> MAIN_GBA_SAVES_IN_ROM_PATH;
|
||||
extern const Info<bool> MAIN_GBA_THREADS;
|
||||
|
||||
static constexpr std::size_t GBPLAYER_GBA_INDEX = 4;
|
||||
#endif
|
||||
|
||||
// Main.Network
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user