Skip to content

Commit

Permalink
Merge pull request #4486 from rebb/fix-turbo-mode-keyboard-toggle
Browse files Browse the repository at this point in the history
Fix turbo mode not staying enabled using "stop turbo on key = false" when toggled via keyboard
  • Loading branch information
joncampbell123 authored Sep 24, 2023
2 parents 197e598 + 7b941ec commit d5f4480
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dosbox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -993,7 +993,7 @@ void DOSBOX_RealInit() {

LOG(LOG_MISC,LOG_DEBUG)("DOSBOX-X RealInit: loading settings and initializing");

MAPPER_AddHandler(DOSBOX_UnlockSpeed, MK_rightarrow, MMODHOST,"speedlock","Toggle Speedlock");
MAPPER_AddHandler(DOSBOX_UnlockSpeed2, MK_rightarrow, MMODHOST,"speedlock","Toggle Speedlock");
{
MAPPER_AddHandler(DOSBOX_UnlockSpeed2, MK_nothing, 0, "speedlock2", "Turbo (Fast Forward)", &item);
item->set_description("Toggle emulation speed, to allow running faster than realtime (fast forward)");
Expand Down

0 comments on commit d5f4480

Please sign in to comment.