Ensure the speed is reset every time the mode might change.
So we avoid that the next adaptive clock is way off. Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
This commit is contained in:
parent
8b77575fbd
commit
54403f74c6
1 changed files with 1 additions and 1 deletions
|
@ -565,7 +565,6 @@ namespace sa2
|
|||
case MODE_RUNNING:
|
||||
DebugExitDebugger();
|
||||
SoundCore_SetFade(FADE_IN);
|
||||
mySpeed.reset();
|
||||
break;
|
||||
case MODE_DEBUG:
|
||||
DebugBegin();
|
||||
|
@ -577,6 +576,7 @@ namespace sa2
|
|||
break;
|
||||
}
|
||||
FrameRefreshStatus(DRAW_TITLE);
|
||||
mySpeed.reset();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue