diff --git a/src/yuzu/configuration/configure_input.cpp b/src/yuzu/configuration/configure_input.cpp index 781e4719af..2e0a5b240f 100644 --- a/src/yuzu/configuration/configure_input.cpp +++ b/src/yuzu/configuration/configure_input.cpp @@ -36,8 +36,8 @@ void OnDockedModeChanged(bool last_state, bool new_state) { // change to one and it will handle both automatically auto applet_oe = sm.GetService("appletOE"); auto applet_ae = sm.GetService("appletAE"); - bool is_notification_enabled = - Service::AM::ISelfController::GetOperationModeChangedNotification(); + auto isc = sm.GetService("ISelfController"); + bool is_notification_enabled = isc->GetOperationModeChangedNotification(); bool has_signalled = false; if (applet_oe != nullptr && is_notification_enabled) { diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 9d34063494..bda2894a34 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -1914,8 +1914,8 @@ void GMainWindow::OnCaptureScreenshot() { auto& sm{Core::System::GetInstance().ServiceManager()}; auto applet_oe = sm.GetService("appletOE"); auto applet_ae = sm.GetService("appletAE"); - bool is_notification_enabled = - Service::AM::ISelfController::GetAlbumImageTakenNotificationEnabled(); + auto isc = sm.GetService("ISelfController"); + bool is_notification_enabled = isc->GetAlbumImageTakenNotificationEnabled(); bool has_signalled = false; if (applet_oe != nullptr && is_notification_enabled) { applet_oe->GetMessageQueue()->ScreenshotTaken();