Przeglądaj źródła

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 lat temu
rodzic
commit
5ab285f1f9
1 zmienionych plików z 2 dodań i 1 usunięć
  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) {