summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am/am.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-11-12 11:38:12 +0100
committerLioncash <mathew1800@gmail.com>2019-11-12 13:55:39 +0100
commitf11b87ebf1cd5770f9128e62931183b0c9331067 (patch)
tree286bed12845e8843e88d2a317388d115b69d2d95 /src/core/hle/service/am/am.cpp
parentperf_stats: Resolve implicit int to double conversion error (diff)
downloadyuzu-f11b87ebf1cd5770f9128e62931183b0c9331067.tar
yuzu-f11b87ebf1cd5770f9128e62931183b0c9331067.tar.gz
yuzu-f11b87ebf1cd5770f9128e62931183b0c9331067.tar.bz2
yuzu-f11b87ebf1cd5770f9128e62931183b0c9331067.tar.lz
yuzu-f11b87ebf1cd5770f9128e62931183b0c9331067.tar.xz
yuzu-f11b87ebf1cd5770f9128e62931183b0c9331067.tar.zst
yuzu-f11b87ebf1cd5770f9128e62931183b0c9331067.zip
Diffstat (limited to '')
-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 ba54b3040..74fe80e7c 100644
--- a/src/core/hle/service/am/am.cpp
+++ b/src/core/hle/service/am/am.cpp
@@ -991,7 +991,7 @@ void ILibraryAppletCreator::CreateLibraryApplet(Kernel::HLERequestContext& ctx)
LOG_ERROR(Service_AM, "Applet doesn't exist! applet_id={}", static_cast<u32>(applet_id));
IPC::ResponseBuilder rb{ctx, 2};
- rb.Push(ResultCode(-1));
+ rb.Push(RESULT_UNKNOWN);
return;
}
@@ -1027,7 +1027,7 @@ void ILibraryAppletCreator::CreateTransferMemoryStorage(Kernel::HLERequestContex
if (transfer_mem == nullptr) {
LOG_ERROR(Service_AM, "shared_mem is a nullpr for handle={:08X}", handle);
IPC::ResponseBuilder rb{ctx, 2};
- rb.Push(ResultCode(-1));
+ rb.Push(RESULT_UNKNOWN);
return;
}