mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-26 08:05:38 +00:00
Fixed a crash when jumping directly to a specific game system on startup.
This commit is contained in:
parent
024e073e86
commit
ed77c7a9aa
|
@ -94,6 +94,11 @@ void ViewController::goToStart()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// If the system view does not exist, then create it. We do this here as it would
|
||||||
|
// otherwise not be done if jumping directly into a specific game system on startup.
|
||||||
|
if (!mSystemListView)
|
||||||
|
getSystemListView();
|
||||||
|
|
||||||
// If a specific system is requested, go directly to its game list.
|
// If a specific system is requested, go directly to its game list.
|
||||||
auto requestedSystem = Settings::getInstance()->getString("StartupSystem");
|
auto requestedSystem = Settings::getInstance()->getString("StartupSystem");
|
||||||
if ("" != requestedSystem && "retropie" != requestedSystem) {
|
if ("" != requestedSystem && "retropie" != requestedSystem) {
|
||||||
|
|
Loading…
Reference in a new issue