diff options
author | Zach Hilman <zachhilman@gmail.com> | 2018-10-03 03:56:32 +0200 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2018-10-03 03:56:32 +0200 |
commit | 9aaf1c0df808e7811be0b9727f3f109dd5dde7dd (patch) | |
tree | 9aaa81084ff626da11ec3ed6d6107f677e0622ac /src/core | |
parent | Merge pull request #1407 from DarkLordZach/dlc (diff) | |
download | yuzu-9aaf1c0df808e7811be0b9727f3f109dd5dde7dd.tar yuzu-9aaf1c0df808e7811be0b9727f3f109dd5dde7dd.tar.gz yuzu-9aaf1c0df808e7811be0b9727f3f109dd5dde7dd.tar.bz2 yuzu-9aaf1c0df808e7811be0b9727f3f109dd5dde7dd.tar.lz yuzu-9aaf1c0df808e7811be0b9727f3f109dd5dde7dd.tar.xz yuzu-9aaf1c0df808e7811be0b9727f3f109dd5dde7dd.tar.zst yuzu-9aaf1c0df808e7811be0b9727f3f109dd5dde7dd.zip |
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) { 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)); |