From d07b190322f34d46fad136cbbf8b8d14aa479746 Mon Sep 17 00:00:00 2001 From: lightningterror <18107717+lightningterror@users.noreply.github.com> Date: Tue, 7 Nov 2023 14:14:20 +0100 Subject: [PATCH] IOP: Fix Wunused-variable warnings. --- pcsx2/IopCounters.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pcsx2/IopCounters.cpp b/pcsx2/IopCounters.cpp index e8d2acaf2a..c8c09cea1c 100644 --- a/pcsx2/IopCounters.cpp +++ b/pcsx2/IopCounters.cpp @@ -497,10 +497,6 @@ void psxRcntUpdate() //if( psxCounters[i].count >= psxCounters[i].target ) _rcntTestTarget( i ); } - - const s32 difference = psxRegs.cycle - psxCounters[6].sCycleT; - s32 c = psxCounters[6].CycleT; - const u32 spu2_delta = (psxRegs.cycle - lClocks) % 768; psxCounters[6].sCycleT = psxRegs.cycle; psxCounters[6].CycleT = psxCounters[6].rate - spu2_delta;