From 2211aead7f3e718c9e3a82b4bb0d962a30621a6d Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 3 Apr 2015 22:46:30 -0400 Subject: [PATCH] DSPInterpreter: Remove unused volatile variable and related function --- Source/Core/Core/DSP/DSPInterpreter.cpp | 7 ------- Source/Core/Core/DSP/DSPInterpreter.h | 2 -- Source/Core/Core/HW/DSPLLE/DSPLLE.cpp | 1 - 3 files changed, 10 deletions(-) diff --git a/Source/Core/Core/DSP/DSPInterpreter.cpp b/Source/Core/Core/DSP/DSPInterpreter.cpp index 9268815aa3..fe5bc56ae1 100644 --- a/Source/Core/Core/DSP/DSPInterpreter.cpp +++ b/Source/Core/Core/DSP/DSPInterpreter.cpp @@ -31,8 +31,6 @@ namespace DSPInterpreter { -static volatile u32 gdsp_running; - // NOTE: These have nothing to do with g_dsp.r.cr ! void WriteCR(u16 val) @@ -225,9 +223,4 @@ int RunCycles(int cycles) } } -void Stop() -{ - gdsp_running = false; -} - } // namespace diff --git a/Source/Core/Core/DSP/DSPInterpreter.h b/Source/Core/Core/DSP/DSPInterpreter.h index 641ef05d26..0feabd1f67 100644 --- a/Source/Core/Core/DSP/DSPInterpreter.h +++ b/Source/Core/Core/DSP/DSPInterpreter.h @@ -22,8 +22,6 @@ int RunCyclesThread(int cycles); int RunCycles(int cycles); int RunCyclesDebug(int cycles); -void Stop(); - void WriteCR(u16 val); u16 ReadCR(); diff --git a/Source/Core/Core/HW/DSPLLE/DSPLLE.cpp b/Source/Core/Core/HW/DSPLLE/DSPLLE.cpp index 25a3ed83e3..6d0d336bc9 100644 --- a/Source/Core/Core/HW/DSPLLE/DSPLLE.cpp +++ b/Source/Core/Core/HW/DSPLLE/DSPLLE.cpp @@ -209,7 +209,6 @@ bool DSPLLE::Initialize(bool bWii, bool bDSPThread) void DSPLLE::DSP_StopSoundStream() { - DSPInterpreter::Stop(); if (m_bDSPThread) { m_bIsRunning.Clear();