Browse Source

aoc: Return size in ListAddOnContent

Zach Hilman 7 năm trước cách đây
mục cha
commit
7e2096db8a
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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) {