From 4b8ed4f2c8c25b2a833b11b3b41352f43ec6e6b4 Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Thu, 3 Mar 2011 04:32:37 +0000 Subject: [PATCH] Remove a pointless cast. Name the DSP thread. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7279 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Core/Src/HW/DSPLLE/DSPLLE.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/Src/HW/DSPLLE/DSPLLE.cpp b/Source/Core/Core/Src/HW/DSPLLE/DSPLLE.cpp index e7c9e0aac2..3d82641143 100644 --- a/Source/Core/Core/Src/HW/DSPLLE/DSPLLE.cpp +++ b/Source/Core/Core/Src/HW/DSPLLE/DSPLLE.cpp @@ -77,9 +77,10 @@ void DSPLLE::DoState(PointerWrap &p) } // Regular thread -void DSPLLE::dsp_thread(DSPLLE *lpParameter) +void DSPLLE::dsp_thread(DSPLLE *dsp_lle) { - DSPLLE *dsp_lle = (DSPLLE *)lpParameter; + Common::SetCurrentThreadName("DSP thread"); + while (dsp_lle->m_bIsRunning) { int cycles = (int)dsp_lle->m_cycle_count;