summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2018-08-09 10:32:32 +0200
committerJosJuice <josjuice@gmail.com>2018-08-09 10:32:32 +0200
commit2a2a2cfc5e23a4ba2df8480a8a1f1dc8262c955f (patch)
treeb80b35fb7878b215c9fb814f89a7a8613ed15552 /Source/Core
parent2ee8a61148364c2c661a137bab7e3478ccb66cfc (diff)
DolphinQt: Don't call "frame advance" "frame skip"
Just to avoid confusion.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinQt/HotkeyScheduler.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/Core/DolphinQt/HotkeyScheduler.cpp b/Source/Core/DolphinQt/HotkeyScheduler.cpp
index ce0a23bce4..cd5c51822f 100644
--- a/Source/Core/DolphinQt/HotkeyScheduler.cpp
+++ b/Source/Core/DolphinQt/HotkeyScheduler.cpp
@@ -63,9 +63,9 @@ static bool IsHotkey(int id, bool held = false)
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;
static int frame_step_count = 0;
@@ -75,7 +75,7 @@ static void HandleFrameskipHotkeys()
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;
}
@@ -181,8 +181,8 @@ void HotkeyScheduler::Run()
if (IsHotkey(HK_RESET))
emit ResetHotkey();
- // Frameskipping
- HandleFrameskipHotkeys();
+ // Frame advance
+ HandleFrameStepHotkeys();
// Screenshot
if (IsHotkey(HK_SCREENSHOT))