VERY experimental Nintendo Switch 2 emulator
C++
am: Resolve ineffective moves
Lioncash972240e94aa2
diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cppindex 557608e769..3ece2cf3cc 100644--- a/src/core/hle/service/am/am.cpp+++ b/src/core/hle/service/am/am.cpp@@ -903,7 +903,7 @@ private:void PopOutData(Kernel::HLERequestContext& ctx) {LOG_DEBUG(Service_AM, "called");- const auto storage = applet->GetBroker().PopNormalDataToGame();+ auto storage = applet->GetBroker().PopNormalDataToGame();if (storage == nullptr) {LOG_ERROR(Service_AM,"storage is a nullptr. There is no data in the current normal channel");@@ -934,7 +934,7 @@ private:void PopInteractiveOutData(Kernel::HLERequestContext& ctx) {LOG_DEBUG(Service_AM, "called");- const auto storage = applet->GetBroker().PopInteractiveDataToGame();+ auto storage = applet->GetBroker().PopInteractiveDataToGame();if (storage == nullptr) {LOG_ERROR(Service_AM,"storage is a nullptr. There is no data in the current interactive channel");