lets try pause after playing again.. i still dont fully understand whats going on...
This commit is contained in:
parent
a24c85ba6e
commit
1c664bbfb3
|
@ -588,15 +588,7 @@ void FCEUMOV_AddJoy(uint8 *js, int SkipFlush)
|
|||
//stop when we run out of frames
|
||||
if(currFrameCounter == currMovieData.records.size())
|
||||
{
|
||||
|
||||
if(FCEUD_PauseAfterPlayback())
|
||||
{
|
||||
FCEUI_ToggleEmulationPause();
|
||||
FCEU_DispMessage("Paused after playback");
|
||||
}
|
||||
else
|
||||
StopPlayback();
|
||||
}
|
||||
StopPlayback();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -605,6 +597,15 @@ void FCEUMOV_AddJoy(uint8 *js, int SkipFlush)
|
|||
js[i] = mr.joysticks[i];
|
||||
}
|
||||
|
||||
//if we are on the last frame, then pause the emulator if the player requested it
|
||||
if(currFrameCounter == currMovieData.records.size()-1)
|
||||
{
|
||||
if(FCEUD_PauseAfterPlayback())
|
||||
{
|
||||
FCEUI_ToggleEmulationPause();
|
||||
}
|
||||
}
|
||||
|
||||
//pause the movie at a specified frame
|
||||
if(FCEUMOV_ShouldPause() && FCEUI_EmulationPaused()==0)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue