Просмотр исходного кода

Merge pull request #203 from Subv/ensure_save_data

AM: Corrected the response in EnsureSaveData.
bunnei 8 лет назад
Родитель
Сommit
ad55d22130
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) {
 void IApplicationFunctions::EnsureSaveData(Kernel::HLERequestContext& ctx) {
     LOG_WARNING(Service, "(STUBBED) called");
     LOG_WARNING(Service, "(STUBBED) called");
-    IPC::ResponseBuilder rb{ctx, 2};
+    IPC::ResponseBuilder rb{ctx, 4};
     rb.Push(RESULT_SUCCESS);
     rb.Push(RESULT_SUCCESS);
+    rb.Push<u64>(0);
 }
 }
 
 
 void IApplicationFunctions::SetTerminateResult(Kernel::HLERequestContext& ctx) {
 void IApplicationFunctions::SetTerminateResult(Kernel::HLERequestContext& ctx) {