diff options
| author | Lioncash <mathew1800@gmail.com> | 2019-03-05 16:45:22 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2019-03-05 16:51:37 -0500 |
| commit | ad9dbeb44b086b24e2c7e6d2dbc5c582cb0df7af (patch) | |
| tree | 3b7d33199157d96cb402a2908935190f207600c2 /src/core/hle/service/audio/audren_u.cpp | |
| parent | cc92c054ec825c7b40518fdc90a0c9a307567303 (diff) | |
hle/service/audio: Extract audio error codes to a header
Places all error codes in an easily includable header.
This also corrects the unsupported error code (I accidentally used the
hex value when I meant to use the decimal one).
Diffstat (limited to 'src/core/hle/service/audio/audren_u.cpp')
| -rw-r--r-- | src/core/hle/service/audio/audren_u.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/service/audio/audren_u.cpp b/src/core/hle/service/audio/audren_u.cpp index ea8f9d0bb..c9de10a24 100644 --- a/src/core/hle/service/audio/audren_u.cpp +++ b/src/core/hle/service/audio/audren_u.cpp @@ -17,6 +17,7 @@ #include "core/hle/kernel/readable_event.h" #include "core/hle/kernel/writable_event.h" #include "core/hle/service/audio/audren_u.h" +#include "core/hle/service/audio/errors.h" namespace Service::Audio { @@ -146,7 +147,7 @@ private: // code in this case. IPC::ResponseBuilder rb{ctx, 2}; - rb.Push(ResultCode{ErrorModule::Audio, 201}); + rb.Push(ERR_NOT_SUPPORTED); } Kernel::EventPair system_event; |
