DolphinQt: Don't call "frame advance" "frame skip"
Just to avoid confusion.
This commit is contained in:
parent
2ee8a61148
commit
2a2a2cfc5e
|
@ -63,9 +63,9 @@ static bool IsHotkey(int id, bool held = false)
|
||||||
return HotkeyManagerEmu::IsPressed(id, held);
|
return HotkeyManagerEmu::IsPressed(id, held);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void HandleFrameskipHotkeys()
|
static void HandleFrameStepHotkeys()
|
||||||
{
|
{
|
||||||
constexpr int MAX_FRAME_SKIP_DELAY = 60;
|
constexpr int MAX_FRAME_STEP_DELAY = 60;
|
||||||
constexpr int FRAME_STEP_DELAY = 30;
|
constexpr int FRAME_STEP_DELAY = 30;
|
||||||
|
|
||||||
static int frame_step_count = 0;
|
static int frame_step_count = 0;
|
||||||
|
@ -75,7 +75,7 @@ static void HandleFrameskipHotkeys()
|
||||||
|
|
||||||
if (IsHotkey(HK_FRAME_ADVANCE_INCREASE_SPEED))
|
if (IsHotkey(HK_FRAME_ADVANCE_INCREASE_SPEED))
|
||||||
{
|
{
|
||||||
frame_step_delay = std::min(frame_step_delay + 1, MAX_FRAME_SKIP_DELAY);
|
frame_step_delay = std::min(frame_step_delay + 1, MAX_FRAME_STEP_DELAY);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -181,8 +181,8 @@ void HotkeyScheduler::Run()
|
||||||
if (IsHotkey(HK_RESET))
|
if (IsHotkey(HK_RESET))
|
||||||
emit ResetHotkey();
|
emit ResetHotkey();
|
||||||
|
|
||||||
// Frameskipping
|
// Frame advance
|
||||||
HandleFrameskipHotkeys();
|
HandleFrameStepHotkeys();
|
||||||
|
|
||||||
// Screenshot
|
// Screenshot
|
||||||
if (IsHotkey(HK_SCREENSHOT))
|
if (IsHotkey(HK_SCREENSHOT))
|
||||||
|
|
Loading…
Reference in New Issue