mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-26 23:55:40 +00:00
CommonHostInterface: Remove achievements/leaderboards hotkeys on Android
This commit is contained in:
parent
d9412f9fcd
commit
9027864d3d
|
@ -2023,7 +2023,7 @@ void CommonHostInterface::RegisterGeneralHotkeys()
|
||||||
SaveScreenshot();
|
SaveScreenshot();
|
||||||
});
|
});
|
||||||
|
|
||||||
#ifdef WITH_CHEEVOS
|
#if !defined(__ANDROID__) && defined(WITH_CHEEVOS)
|
||||||
RegisterHotkey(StaticString(TRANSLATABLE("Hotkeys", "General")), StaticString("OpenAchievements"),
|
RegisterHotkey(StaticString(TRANSLATABLE("Hotkeys", "General")), StaticString("OpenAchievements"),
|
||||||
StaticString(TRANSLATABLE("Hotkeys", "Open Achievement List")), [this](bool pressed) {
|
StaticString(TRANSLATABLE("Hotkeys", "Open Achievement List")), [this](bool pressed) {
|
||||||
if (pressed && System::IsValid())
|
if (pressed && System::IsValid())
|
||||||
|
@ -2049,7 +2049,7 @@ void CommonHostInterface::RegisterGeneralHotkeys()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
#endif
|
#endif // !defined(__ANDROID__) && defined(WITH_CHEEVOS)
|
||||||
}
|
}
|
||||||
|
|
||||||
void CommonHostInterface::RegisterSystemHotkeys()
|
void CommonHostInterface::RegisterSystemHotkeys()
|
||||||
|
|
Loading…
Reference in a new issue