summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-04-20 06:15:00 +0200
committerGitHub <noreply@github.com>2020-04-20 06:15:00 +0200
commite3977243e2767a89a0af24ab205bb3b5f617d9b2 (patch)
tree40bf1dbe818c7e2c78b73e23c6ddcdebb3577a8a
parentMerge pull request #3729 from lioncash/globals (diff)
parentam: Resolve ineffective moves (diff)
downloadyuzu-e3977243e2767a89a0af24ab205bb3b5f617d9b2.tar
yuzu-e3977243e2767a89a0af24ab205bb3b5f617d9b2.tar.gz
yuzu-e3977243e2767a89a0af24ab205bb3b5f617d9b2.tar.bz2
yuzu-e3977243e2767a89a0af24ab205bb3b5f617d9b2.tar.lz
yuzu-e3977243e2767a89a0af24ab205bb3b5f617d9b2.tar.xz
yuzu-e3977243e2767a89a0af24ab205bb3b5f617d9b2.tar.zst
yuzu-e3977243e2767a89a0af24ab205bb3b5f617d9b2.zip
-rw-r--r--src/core/hle/service/am/am.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp
index 557608e76..3ece2cf3c 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");