summaryrefslogtreecommitdiff
path: root/src/port/GameExtractor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/port/GameExtractor.cpp')
-rw-r--r--src/port/GameExtractor.cpp7
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()) {