mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2024-12-28 10:01:20 -08:00
Merge pull request #1709 from ogniK5377/docked-mode-crash
Fixed switching operation modes when not running a game
This commit is contained in:
commit
d104478f1b
@ -47,6 +47,9 @@ void ConfigureGeneral::OnDockedModeChanged(bool last_state, bool new_state) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Core::System& system{Core::System::GetInstance()};
|
Core::System& system{Core::System::GetInstance()};
|
||||||
|
if (!system.IsPoweredOn()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
Service::SM::ServiceManager& sm = system.ServiceManager();
|
Service::SM::ServiceManager& sm = system.ServiceManager();
|
||||||
|
|
||||||
// Message queue is shared between these services, we just need to signal an operation
|
// Message queue is shared between these services, we just need to signal an operation
|
||||||
|
Loading…
Reference in New Issue
Block a user