diff options
Diffstat (limited to '')
| -rw-r--r-- | src/core/hle/service/aoc/aoc_u.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/aoc/aoc_u.cpp b/src/core/hle/service/aoc/aoc_u.cpp index cfc28fa0c..79580bcd9 100644 --- a/src/core/hle/service/aoc/aoc_u.cpp +++ b/src/core/hle/service/aoc/aoc_u.cpp | |||
| @@ -84,7 +84,7 @@ void AOC_U::ListAddOnContent(Kernel::HLERequestContext& ctx) { | |||
| 84 | out.push_back(static_cast<u32>(add_on_content[i] & 0x7FF)); | 84 | out.push_back(static_cast<u32>(add_on_content[i] & 0x7FF)); |
| 85 | } | 85 | } |
| 86 | 86 | ||
| 87 | if (out.size() <= offset) { | 87 | if (out.size() < offset) { |
| 88 | IPC::ResponseBuilder rb{ctx, 2}; | 88 | IPC::ResponseBuilder rb{ctx, 2}; |
| 89 | // TODO(DarkLordZach): Find the correct error code. | 89 | // TODO(DarkLordZach): Find the correct error code. |
| 90 | rb.Push(ResultCode(-1)); | 90 | rb.Push(ResultCode(-1)); |