diff options
author | Lioncash <mathew1800@gmail.com> | 2019-11-12 11:38:12 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-11-12 13:55:39 +0100 |
commit | f11b87ebf1cd5770f9128e62931183b0c9331067 (patch) | |
tree | 286bed12845e8843e88d2a317388d115b69d2d95 /src/core/hle/service/audio/hwopus.cpp | |
parent | perf_stats: Resolve implicit int to double conversion error (diff) | |
download | yuzu-f11b87ebf1cd5770f9128e62931183b0c9331067.tar yuzu-f11b87ebf1cd5770f9128e62931183b0c9331067.tar.gz yuzu-f11b87ebf1cd5770f9128e62931183b0c9331067.tar.bz2 yuzu-f11b87ebf1cd5770f9128e62931183b0c9331067.tar.lz yuzu-f11b87ebf1cd5770f9128e62931183b0c9331067.tar.xz yuzu-f11b87ebf1cd5770f9128e62931183b0c9331067.tar.zst yuzu-f11b87ebf1cd5770f9128e62931183b0c9331067.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 cb4a1160d..cb839e4a2 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(ResultCode(-1)); + rb.Push(RESULT_UNKNOWN); return; } @@ -278,7 +278,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(ResultCode(-1)); + rb.Push(RESULT_UNKNOWN); return; } |