diff --git a/rpcsx/audio/AlsaDevice.cpp b/rpcsx/audio/AlsaDevice.cpp index c36760d3f..60e392e66 100644 --- a/rpcsx/audio/AlsaDevice.cpp +++ b/rpcsx/audio/AlsaDevice.cpp @@ -19,7 +19,7 @@ void AlsaDevice::start() { break; case AudioFormat::AC3: default: - rx::die("Format is not supported, {}", mFormat); + rx::die("Format is not supported, {}", static_cast(mFormat)); } mAlsaFormat = fmt; } diff --git a/rpcsx/audio/AudioDevice.hpp b/rpcsx/audio/AudioDevice.hpp index 360170b34..b7d3090e6 100644 --- a/rpcsx/audio/AudioDevice.hpp +++ b/rpcsx/audio/AudioDevice.hpp @@ -16,7 +16,6 @@ enum class AudioFormat : std::uint32_t { S16_LE = 0x10, AC3 = 0x400, S32_LE = 0x1000, - _last = S32_LE, }; class AudioDevice : public rx::RcBase {