mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-16 10:57:54 +00:00
service: Resolve sign conversion errors
These are fairly trivial to resolve and most of the changes entail using RESULT_UNKNOWN over ResultCode(-1).
This commit is contained in:
parent
6fb1953e6c
commit
20d6637c03
15 changed files with 55 additions and 58 deletions
|
@ -242,7 +242,7 @@ private:
|
|||
const auto index = db.IndexOf(uuid);
|
||||
if (index > MAX_MIIS) {
|
||||
// TODO(DarkLordZach): Find a better error code
|
||||
rb.Push(ResultCode(-1));
|
||||
rb.Push(RESULT_UNKNOWN);
|
||||
rb.Push(index);
|
||||
} else {
|
||||
rb.Push(RESULT_SUCCESS);
|
||||
|
@ -268,7 +268,7 @@ private:
|
|||
|
||||
IPC::ResponseBuilder rb{ctx, 2};
|
||||
// TODO(DarkLordZach): Find a better error code
|
||||
rb.Push(success ? RESULT_SUCCESS : ResultCode(-1));
|
||||
rb.Push(success ? RESULT_SUCCESS : RESULT_UNKNOWN);
|
||||
}
|
||||
|
||||
void AddOrReplace(Kernel::HLERequestContext& ctx) {
|
||||
|
@ -282,7 +282,7 @@ private:
|
|||
|
||||
IPC::ResponseBuilder rb{ctx, 2};
|
||||
// TODO(DarkLordZach): Find a better error code
|
||||
rb.Push(success ? RESULT_SUCCESS : ResultCode(-1));
|
||||
rb.Push(success ? RESULT_SUCCESS : RESULT_UNKNOWN);
|
||||
}
|
||||
|
||||
void Delete(Kernel::HLERequestContext& ctx) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue