From 9027864d3d8abc3075045b4b83c00f9d64fcc6e5 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sun, 20 Jun 2021 19:18:01 +1000 Subject: [PATCH] CommonHostInterface: Remove achievements/leaderboards hotkeys on Android --- src/frontend-common/common_host_interface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontend-common/common_host_interface.cpp b/src/frontend-common/common_host_interface.cpp index 14ed65de1..6ec637f88 100644 --- a/src/frontend-common/common_host_interface.cpp +++ b/src/frontend-common/common_host_interface.cpp @@ -2023,7 +2023,7 @@ void CommonHostInterface::RegisterGeneralHotkeys() SaveScreenshot(); }); -#ifdef WITH_CHEEVOS +#if !defined(__ANDROID__) && defined(WITH_CHEEVOS) RegisterHotkey(StaticString(TRANSLATABLE("Hotkeys", "General")), StaticString("OpenAchievements"), StaticString(TRANSLATABLE("Hotkeys", "Open Achievement List")), [this](bool pressed) { if (pressed && System::IsValid()) @@ -2049,7 +2049,7 @@ void CommonHostInterface::RegisterGeneralHotkeys() } } }); -#endif +#endif // !defined(__ANDROID__) && defined(WITH_CHEEVOS) } void CommonHostInterface::RegisterSystemHotkeys()