Explorar o código

aoc: Return size in ListAddOnContent

Zach Hilman %!s(int64=7) %!d(string=hai) anos
pai
achega
7e2096db8a
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/core/hle/service/aoc/aoc_u.cpp

+ 2 - 1
src/core/hle/service/aoc/aoc_u.cpp

@@ -97,8 +97,9 @@ void AOC_U::ListAddOnContent(Kernel::HLERequestContext& ctx) {
 
     ctx.WriteBuffer(out);
 
-    IPC::ResponseBuilder rb{ctx, 2};
+    IPC::ResponseBuilder rb{ctx, 3};
     rb.Push(RESULT_SUCCESS);
+    rb.Push(count);
 }
 
 void AOC_U::GetAddOnContentBaseId(Kernel::HLERequestContext& ctx) {