mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 15:45:38 +00:00
Fixed an issue where videos would keep playing when switching gamelists.
This commit is contained in:
parent
1a35d29f19
commit
df18a822b7
|
@ -290,11 +290,14 @@ void ViewController::goToGameList(SystemData* system)
|
|||
cancelViewTransitions();
|
||||
|
||||
// Disable rendering of the system view.
|
||||
if (getSystemListView()->getRenderView())
|
||||
if (getSystemListView()->getRenderView()) {
|
||||
getSystemListView()->setRenderView(false);
|
||||
}
|
||||
// If switching between gamelists, disable rendering of the current view.
|
||||
else if (mCurrentView)
|
||||
else if (mCurrentView) {
|
||||
mCurrentView->onHide();
|
||||
mCurrentView->setRenderView(false);
|
||||
}
|
||||
|
||||
if (mState.viewing == SYSTEM_SELECT) {
|
||||
// Move system list.
|
||||
|
|
Loading…
Reference in a new issue