From 5f6fce9d98d0fdef590f1bb5946f6897fbf8bd21 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Thu, 11 Feb 2021 01:39:59 +1000 Subject: [PATCH] CommonHostInterface: Remove Rewind hotkey on Android It's not enablable in the UI anywhere. --- src/frontend-common/common_host_interface.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frontend-common/common_host_interface.cpp b/src/frontend-common/common_host_interface.cpp index 5e3fee410..0fbbcd1b9 100644 --- a/src/frontend-common/common_host_interface.cpp +++ b/src/frontend-common/common_host_interface.cpp @@ -1676,6 +1676,7 @@ void CommonHostInterface::RegisterGeneralHotkeys() DoFrameStep(); }); +#ifndef __ANDROID__ RegisterHotkey(StaticString(TRANSLATABLE("Hotkeys", "General")), StaticString("Rewind"), StaticString(TRANSLATABLE("Hotkeys", "Rewind")), [this](bool pressed) { if (System::IsValid()) @@ -1686,6 +1687,7 @@ void CommonHostInterface::RegisterGeneralHotkeys() System::SetRewinding(pressed); } }); +#endif } void CommonHostInterface::RegisterGraphicsHotkeys()