From 5ab285f1f944d8979530e1777fcf584377ac4d2d Mon Sep 17 00:00:00 2001 From: Subv Date: Sun, 18 Feb 2018 18:09:52 -0500 Subject: [PATCH] AM: Corrected the response in EnsureSaveData. The values are still unknown and the function is still considered a stub. Puyo Puyo Tetris now tries to call fsp-srv:MountSaveData. --- src/core/hle/service/am/am.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp index 402105ea07..03305814fe 100644 --- a/src/core/hle/service/am/am.cpp +++ b/src/core/hle/service/am/am.cpp @@ -378,8 +378,9 @@ void IApplicationFunctions::PopLaunchParameter(Kernel::HLERequestContext& ctx) { void IApplicationFunctions::EnsureSaveData(Kernel::HLERequestContext& ctx) { LOG_WARNING(Service, "(STUBBED) called"); - IPC::ResponseBuilder rb{ctx, 2}; + IPC::ResponseBuilder rb{ctx, 4}; rb.Push(RESULT_SUCCESS); + rb.Push(0); } void IApplicationFunctions::SetTerminateResult(Kernel::HLERequestContext& ctx) {