mirror of https://github.com/stella-emu/stella.git
fixed a little merge error
This commit is contained in:
parent
f7c445fb7c
commit
33756b2481
|
@ -301,19 +301,19 @@ void EventHandler::handleKeyEvent(StellaKey key, StellaMod mod, bool state)
|
|||
{
|
||||
case KBDK_LEFT: // Alt-left(-shift) rewinds 1(10) states
|
||||
enterTimeMachineMenuMode((StellaModTest::isShift(mod) && state) ? 10 : 1, false);
|
||||
return;
|
||||
break;
|
||||
|
||||
case KBDK_RIGHT: // Alt-right(-shift) unwinds 1(10) states
|
||||
enterTimeMachineMenuMode((StellaModTest::isShift(mod) && state) ? 10 : 1, true);
|
||||
return;
|
||||
break;
|
||||
|
||||
case KBDK_DOWN: // Alt-down rewinds to start of list
|
||||
enterTimeMachineMenuMode(1000, false);
|
||||
return;
|
||||
break;
|
||||
|
||||
case KBDK_UP: // Alt-up rewinds to end of list
|
||||
enterTimeMachineMenuMode(1000, true);
|
||||
return;
|
||||
break;
|
||||
|
||||
// These can work in pause mode too
|
||||
case KBDK_EQUALS:
|
||||
|
@ -2151,8 +2151,6 @@ void EventHandler::enterTimeMachineMenuMode(uInt32 numWinds, bool unwind)
|
|||
// add one extra state if we are in Time Machine mode
|
||||
// TODO: maybe remove this state if we leave the menu at this new state
|
||||
myOSystem.state().addExtraState("enter Time Machine dialog"); // force new state
|
||||
if(numWinds)
|
||||
myOSystem.state().windStates(numWinds, unwind);
|
||||
|
||||
if(numWinds)
|
||||
myOSystem.state().windStates(numWinds, unwind);
|
||||
|
|
Loading…
Reference in New Issue