summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/aoc
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-10-03 03:56:32 +0200
committerZach Hilman <zachhilman@gmail.com>2018-10-03 03:56:32 +0200
commit9aaf1c0df808e7811be0b9727f3f109dd5dde7dd (patch)
tree9aaa81084ff626da11ec3ed6d6107f677e0622ac /src/core/hle/service/aoc
parentMerge pull request #1407 from DarkLordZach/dlc (diff)
downloadyuzu-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 'src/core/hle/service/aoc')
-rw-r--r--src/core/hle/service/aoc/aoc_u.cpp2
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));