mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-29 19:55:37 +00:00
Fixed an issue where the video would not start playing immediately after closing the media viewer if the showSnapshotDelay property was not set.
This commit is contained in:
parent
640793ec0a
commit
141f8aadf4
|
@ -231,7 +231,7 @@ void VideoComponent::update(int deltaTime)
|
|||
}
|
||||
|
||||
// Hack to prevent the video from starting to play if the static image was shown when paused.
|
||||
if (mPaused)
|
||||
if (mConfig.showSnapshotDelay && mPaused)
|
||||
mStartTime = SDL_GetTicks() + mConfig.startDelay;
|
||||
|
||||
if (mWindow->getGameLaunchedState())
|
||||
|
|
Loading…
Reference in a new issue