diff options
| author | KiritoDv <kiritodev01@gmail.com> | 2025-03-07 17:39:58 -0600 |
|---|---|---|
| committer | Lywx <kiritodev01@gmail.com> | 2025-03-07 18:00:41 -0600 |
| commit | 5f8550790adb5ce374ac31965f533f91e8d36191 (patch) | |
| tree | b94f5fe2cfd0194728a109caae28cebe60894158 /src/port/GameExtractor.cpp | |
| parent | 629125110d50c1b206b8cd9c5560e47e80377a05 (diff) | |
Fixed compilation
Diffstat (limited to 'src/port/GameExtractor.cpp')
| -rw-r--r-- | src/port/GameExtractor.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/port/GameExtractor.cpp b/src/port/GameExtractor.cpp index 4a222c681..0182241be 100644 --- a/src/port/GameExtractor.cpp +++ b/src/port/GameExtractor.cpp @@ -5,15 +5,18 @@ #include "Context.h" #include "spdlog/spdlog.h" -#include "portable-file-dialogs.h" #include <port/Engine.h> +#if !defined(__IOS__) && !defined(__ANDROID__) && !defined(__SWITCH__) +#include "portable-file-dialogs.h" +#endif + std::unordered_map<std::string, std::string> mGameList = { { "579c48e211ae952530ffc8738709f078d5dd215e", "Mario Kart 64 (US)" }, }; bool GameExtractor::SelectGameFromUI() { -#if !defined(__IOS__) || !defined(__ANDROID__) || !defined(__SWITCH__) +#if !defined(__IOS__) && !defined(__ANDROID__) && !defined(__SWITCH__) auto selection = pfd::open_file("Select a file", ".", { "N64 Roms", "*.z64" }).result(); if (selection.empty()) { |
