From 182ba2aa7f516b7583b6a853ee3255cbf35bbf8c Mon Sep 17 00:00:00 2001 From: Stenzek Date: Tue, 8 Apr 2025 22:21:12 +1000 Subject: [PATCH] SPU: Devel build fix --- src/core/spu.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/spu.cpp b/src/core/spu.cpp index bffb23062..de4cd6ff3 100644 --- a/src/core/spu.cpp +++ b/src/core/spu.cpp @@ -431,7 +431,7 @@ struct SPUState std::array, NUM_VOICES + 1> s_voice_dump_writers; #endif -#ifdef _DEVEL +#ifdef SPU_ENABLE_VU_METER s16 output_peaks[2] = {}; s16 cd_audio_peaks[2] = {}; s16 reverb_peaks[2] = {}; @@ -2694,7 +2694,7 @@ void SPU::DrawDebugStateWindow(float scale) "#", "StartAddr", "RepeatAddr", "CurAddr", "SampleIdx", "SampleRate", "VolLeft", "VolRight", "ADSRPhase", "ADSRVol", "ADSRTicks", #ifdef SPU_ENABLE_VU_METER - , "VUMeter" + "VUMeter", #endif }; static constexpr std::array adsr_phases = {"Off", "Attack", "Decay", "Sustain", "Release"};