diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-05-21 07:06:31 +0200 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-06-02 06:39:27 +0200 |
commit | a0e4c2e1fc8d3ce33948a0ec6a840960f1ceb484 (patch) | |
tree | 7d6a0f2189410ff77f9e768704abcfea9ef34f3b /src/core/hle/service/audio/hwopus.cpp | |
parent | general: Replace RESULT_SUCCESS with ResultSuccess (diff) | |
download | yuzu-a0e4c2e1fc8d3ce33948a0ec6a840960f1ceb484.tar yuzu-a0e4c2e1fc8d3ce33948a0ec6a840960f1ceb484.tar.gz yuzu-a0e4c2e1fc8d3ce33948a0ec6a840960f1ceb484.tar.bz2 yuzu-a0e4c2e1fc8d3ce33948a0ec6a840960f1ceb484.tar.lz yuzu-a0e4c2e1fc8d3ce33948a0ec6a840960f1ceb484.tar.xz yuzu-a0e4c2e1fc8d3ce33948a0ec6a840960f1ceb484.tar.zst yuzu-a0e4c2e1fc8d3ce33948a0ec6a840960f1ceb484.zip |
Diffstat (limited to 'src/core/hle/service/audio/hwopus.cpp')
-rw-r--r-- | src/core/hle/service/audio/hwopus.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/audio/hwopus.cpp b/src/core/hle/service/audio/hwopus.cpp index 4e534edac..10e6f7a64 100644 --- a/src/core/hle/service/audio/hwopus.cpp +++ b/src/core/hle/service/audio/hwopus.cpp @@ -80,7 +80,7 @@ private: LOG_ERROR(Audio, "Failed to decode opus data"); IPC::ResponseBuilder rb{ctx, 2}; // TODO(ogniK): Use correct error code - rb.Push(RESULT_UNKNOWN); + rb.Push(ResultUnknown); return; } @@ -281,7 +281,7 @@ void HwOpus::OpenOpusDecoder(Kernel::HLERequestContext& ctx) { LOG_ERROR(Audio, "Failed to create Opus decoder (error={}).", error); IPC::ResponseBuilder rb{ctx, 2}; // TODO(ogniK): Use correct error code - rb.Push(RESULT_UNKNOWN); + rb.Push(ResultUnknown); return; } |