mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-16 20:15:38 +00:00
Fixed an issue where the screensaver overlay would not be displayed.
This commit is contained in:
parent
105ae4f074
commit
c2c433707e
|
@ -506,6 +506,9 @@ void SystemScreensaver::pickRandomImage(std::string& path)
|
|||
mPreviousGame = nullptr;
|
||||
mCurrentGame = mImageFiles.front();
|
||||
path = mImageFiles.front()->getImagePath();
|
||||
mGameName = mImageFiles.front()->getName();
|
||||
mSystemName = mImageFiles.front()->getSystem()->getFullName();
|
||||
mCurrentGame = mImageFiles.front();
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -538,6 +541,9 @@ void SystemScreensaver::pickRandomVideo(std::string& path)
|
|||
mPreviousGame = nullptr;
|
||||
mCurrentGame = mVideoFiles.front();
|
||||
path = mVideoFiles.front()->getVideoPath();
|
||||
mGameName = mVideoFiles.front()->getName();
|
||||
mSystemName = mVideoFiles.front()->getSystem()->getFullName();
|
||||
mCurrentGame = mVideoFiles.front();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue