瀏覽代碼

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.
Subv 8 年之前
父節點
當前提交
5ab285f1f9
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/core/hle/service/am/am.cpp

+ 2 - 1
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<u64>(0);
 }
 
 void IApplicationFunctions::SetTerminateResult(Kernel::HLERequestContext& ctx) {