mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-14 19:02:45 +01:00
Merge pull request #1434 from DarkLordZach/dlc-edge-case
aoc_u: Fix edge case with DLC that causes breaks
This commit is contained in:
commit
cf3a6dd4a1
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue