diff options
author | bunnei <bunneidev@gmail.com> | 2018-10-03 21:39:23 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-03 21:39:23 -0400 |
commit | cf3a6dd4a175cfc18a856b071ceff9c5e4833eca (patch) | |
tree | fdab4b723ae3bb828d723736dba5f4c15c88e03d /src | |
parent | af672d8abf92559b7770d9177f44bd6cec26a258 (diff) | |
parent | 9aaf1c0df808e7811be0b9727f3f109dd5dde7dd (diff) |
Merge pull request #1434 from DarkLordZach/dlc-edge-case
aoc_u: Fix edge case with DLC that causes breaks
Diffstat (limited to 'src')
-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 cfc28fa0c5..79580bcd99 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) { out.push_back(static_cast<u32>(add_on_content[i] & 0x7FF)); } - if (out.size() <= offset) { + if (out.size() < offset) { IPC::ResponseBuilder rb{ctx, 2}; // TODO(DarkLordZach): Find the correct error code. rb.Push(ResultCode(-1)); |