diff options
| author | Lioncash <mathew1800@gmail.com> | 2015-04-05 17:20:41 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2015-04-05 17:20:41 -0400 |
| commit | ea50dc240d0df56490aea86408dd0f621787950d (patch) | |
| tree | 044411eae39b3d6ea59159c1307ca74a9b7d9f66 /Source/Core | |
| parent | 38236fb8e8370f9f1ca1482ffa94b08c4595f2aa (diff) | |
| parent | 2211aead7f3e718c9e3a82b4bb0d962a30621a6d (diff) | |
Merge pull request #2270 from lioncash/unused
DSPInterpreter: Remove unused volatile variable and related function
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/DSP/DSPInterpreter.cpp | 7 | ||||
| -rw-r--r-- | Source/Core/Core/DSP/DSPInterpreter.h | 2 | ||||
| -rw-r--r-- | Source/Core/Core/HW/DSPLLE/DSPLLE.cpp | 1 |
3 files changed, 0 insertions, 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(); |
