mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05:38 +00:00
Fixed an issue where videos with no path set could sometimes get attempted to play.
This commit is contained in:
parent
de5a642cf6
commit
8c24d0a3b7
|
@ -233,6 +233,9 @@ void VideoComponent::update(int deltaTime)
|
|||
return;
|
||||
}
|
||||
|
||||
if (mVideoPath == "")
|
||||
return;
|
||||
|
||||
// Hack to prevent the video from starting to play if the static image was shown when paused.
|
||||
if (mConfig.showSnapshotDelay && mPaused)
|
||||
mStartTime = SDL_GetTicks() + mConfig.startDelay;
|
||||
|
|
Loading…
Reference in a new issue