diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-12-28 14:04:44 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-12-28 14:13:58 -0500 |
| commit | f652c969a46efb0b6fb74613568ce4e7f508ed6b (patch) | |
| tree | 7abca8e2fb0aad44020f575a917f43e5471e9dca /src/audio_core/audio_out.cpp | |
| parent | 0c833d12d72a7894647dc968595942acbcf1385f (diff) | |
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 cbba17632f..50d2a1ed35 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) { return Stream::Format::Multi51Channel16; } - LOG_CRITICAL(Audio, "Unimplemented num_channels={}", num_channels); - UNREACHABLE(); + UNIMPLEMENTED_MSG("Unimplemented num_channels={}", num_channels); return {}; } |
