Hotkeys: Screenshot should not be present on Android
Since it saves to app-private, users would complain that the app is using too much data.
This commit is contained in:
parent
2da692b341
commit
69ed6e5e58
|
@ -210,7 +210,6 @@ DEFINE_HOTKEY("OpenCheatsMenu", TRANSLATE_NOOP("Hotkeys", "General"), TRANSLATE_
|
||||||
if (!pressed && CanPause())
|
if (!pressed && CanPause())
|
||||||
FullscreenUI::OpenCheatsMenu();
|
FullscreenUI::OpenCheatsMenu();
|
||||||
})
|
})
|
||||||
#endif
|
|
||||||
|
|
||||||
DEFINE_HOTKEY("Screenshot", TRANSLATE_NOOP("Hotkeys", "General"), TRANSLATE_NOOP("Hotkeys", "Save Screenshot"),
|
DEFINE_HOTKEY("Screenshot", TRANSLATE_NOOP("Hotkeys", "General"), TRANSLATE_NOOP("Hotkeys", "Save Screenshot"),
|
||||||
[](s32 pressed) {
|
[](s32 pressed) {
|
||||||
|
@ -218,21 +217,6 @@ DEFINE_HOTKEY("Screenshot", TRANSLATE_NOOP("Hotkeys", "General"), TRANSLATE_NOOP
|
||||||
System::SaveScreenshot();
|
System::SaveScreenshot();
|
||||||
})
|
})
|
||||||
|
|
||||||
DEFINE_HOTKEY("RecordSingleFrameGPUDump", TRANSLATE_NOOP("Hotkeys", "Graphics"),
|
|
||||||
TRANSLATE_NOOP("Hotkeys", "Record Single Frame GPU Trace"), [](s32 pressed) {
|
|
||||||
if (!pressed)
|
|
||||||
System::StartRecordingGPUDump(nullptr, 1);
|
|
||||||
})
|
|
||||||
|
|
||||||
DEFINE_HOTKEY("RecordMultiFrameGPUDump", TRANSLATE_NOOP("Hotkeys", "Graphics"),
|
|
||||||
TRANSLATE_NOOP("Hotkeys", "Record Multi-Frame GPU Trace"), [](s32 pressed) {
|
|
||||||
if (pressed > 0)
|
|
||||||
System::StartRecordingGPUDump(nullptr, 0);
|
|
||||||
else
|
|
||||||
System::StopRecordingGPUDump();
|
|
||||||
})
|
|
||||||
|
|
||||||
#ifndef __ANDROID__
|
|
||||||
DEFINE_HOTKEY("ToggleMediaCapture", TRANSLATE_NOOP("Hotkeys", "General"),
|
DEFINE_HOTKEY("ToggleMediaCapture", TRANSLATE_NOOP("Hotkeys", "General"),
|
||||||
TRANSLATE_NOOP("Hotkeys", "Toggle Media Capture"), [](s32 pressed) {
|
TRANSLATE_NOOP("Hotkeys", "Toggle Media Capture"), [](s32 pressed) {
|
||||||
if (!pressed)
|
if (!pressed)
|
||||||
|
@ -257,6 +241,20 @@ DEFINE_HOTKEY("OpenLeaderboards", TRANSLATE_NOOP("Hotkeys", "General"),
|
||||||
})
|
})
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
DEFINE_HOTKEY("RecordSingleFrameGPUDump", TRANSLATE_NOOP("Hotkeys", "Graphics"),
|
||||||
|
TRANSLATE_NOOP("Hotkeys", "Record Single Frame GPU Trace"), [](s32 pressed) {
|
||||||
|
if (!pressed)
|
||||||
|
System::StartRecordingGPUDump(nullptr, 1);
|
||||||
|
})
|
||||||
|
|
||||||
|
DEFINE_HOTKEY("RecordMultiFrameGPUDump", TRANSLATE_NOOP("Hotkeys", "Graphics"),
|
||||||
|
TRANSLATE_NOOP("Hotkeys", "Record Multi-Frame GPU Trace"), [](s32 pressed) {
|
||||||
|
if (pressed > 0)
|
||||||
|
System::StartRecordingGPUDump(nullptr, 0);
|
||||||
|
else
|
||||||
|
System::StopRecordingGPUDump();
|
||||||
|
})
|
||||||
|
|
||||||
DEFINE_HOTKEY("Reset", TRANSLATE_NOOP("Hotkeys", "System"), TRANSLATE_NOOP("Hotkeys", "Reset System"), [](s32 pressed) {
|
DEFINE_HOTKEY("Reset", TRANSLATE_NOOP("Hotkeys", "System"), TRANSLATE_NOOP("Hotkeys", "Reset System"), [](s32 pressed) {
|
||||||
if (!pressed)
|
if (!pressed)
|
||||||
Host::RunOnCPUThread(System::ResetSystem);
|
Host::RunOnCPUThread(System::ResetSystem);
|
||||||
|
|
Loading…
Reference in New Issue