diff options
| author | 2018-12-28 14:04:44 -0500 | |
|---|---|---|
| committer | 2018-12-28 14:13:58 -0500 | |
| commit | a73c7c73eb3c7edffd3c12e2becb55f86df1bc68 (patch) | |
| tree | 7abca8e2fb0aad44020f575a917f43e5471e9dca /src/audio_core/audio_out.cpp | |
| parent | Merge pull request #1951 from Tinob/master (diff) | |
| download | yuzu-a73c7c73eb3c7edffd3c12e2becb55f86df1bc68.tar.gz yuzu-a73c7c73eb3c7edffd3c12e2becb55f86df1bc68.tar.xz yuzu-a73c7c73eb3c7edffd3c12e2becb55f86df1bc68.zip | |
audio_core: Convert LOG_CRITICAL + UNREACHABLE over to UNIMPLEMENTED/UNIMPLEMENTED_MSG
These two macros being used in tandem were used prior to the
introduction of UNIMPLEMENTED and UNIMPLEMENTED_MSG. This provides
equivalent behavior, just with less typing/reading involved.
Diffstat (limited to 'src/audio_core/audio_out.cpp')
| -rw-r--r-- | src/audio_core/audio_out.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/audio_core/audio_out.cpp b/src/audio_core/audio_out.cpp index cbba17632..50d2a1ed3 100644 --- a/src/audio_core/audio_out.cpp +++ b/src/audio_core/audio_out.cpp | |||
| @@ -22,8 +22,7 @@ static Stream::Format ChannelsToStreamFormat(u32 num_channels) { | |||
| 22 | return Stream::Format::Multi51Channel16; | 22 | return Stream::Format::Multi51Channel16; |
| 23 | } | 23 | } |
| 24 | 24 | ||
| 25 | LOG_CRITICAL(Audio, "Unimplemented num_channels={}", num_channels); | 25 | UNIMPLEMENTED_MSG("Unimplemented num_channels={}", num_channels); |
| 26 | UNREACHABLE(); | ||
| 27 | return {}; | 26 | return {}; |
| 28 | } | 27 | } |
| 29 | 28 | ||