1
0
Fork 0
forked from suyu/suyu

Merge pull request #1709 from ogniK5377/docked-mode-crash

Fixed switching operation modes when not running a game
This commit is contained in:
Hexagon12 2018-11-16 16:25:40 +02:00 committed by GitHub
commit d104478f1b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,6 +47,9 @@ void ConfigureGeneral::OnDockedModeChanged(bool last_state, bool new_state) {
}
Core::System& system{Core::System::GetInstance()};
if (!system.IsPoweredOn()) {
return;
}
Service::SM::ServiceManager& sm = system.ServiceManager();
// Message queue is shared between these services, we just need to signal an operation