summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2025-11-27 19:58:22 +0100
committerGitHub <noreply@github.com>2025-11-27 19:58:22 +0100
commit2e0b91c627878d10fee4c6c07061b6f0eaf6138e (patch)
tree212f07a75cb3b275e342aa24425db6fc91c5f5ad
parent27ec54eaaf617d0cc7702e3453ef4ac43946d2e6 (diff)
parentdeeb6f160c82bf210139321c582ea135b826acc9 (diff)
Merge pull request #14177 from JoshuaVandaele/retro-tests-off
Disable PatchAllowlistTest if USE_RETRO_ACHIEVEMENTS is OFF
-rw-r--r--Source/UnitTests/Core/PatchAllowlistTest.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/UnitTests/Core/PatchAllowlistTest.cpp b/Source/UnitTests/Core/PatchAllowlistTest.cpp
index c2b6be61e6..85111fb607 100644
--- a/Source/UnitTests/Core/PatchAllowlistTest.cpp
+++ b/Source/UnitTests/Core/PatchAllowlistTest.cpp
@@ -1,6 +1,8 @@
// Copyright 2024 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
+#ifdef USE_RETRO_ACHIEVEMENTS
+
#include <array>
#include <map>
#include <string>
@@ -191,3 +193,5 @@ void ReadVerified(const Common::IniFile& ini, const std::string& filename,
}
}
}
+
+#endif // USE_RETRO_ACHIEVEMENTS