Remove a pointless cast. Name the DSP thread.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7279 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Jordan Woyak 2011-03-03 04:32:37 +00:00
parent 1ae59b6dc3
commit 4b8ed4f2c8
1 changed files with 3 additions and 2 deletions

View File

@ -77,9 +77,10 @@ void DSPLLE::DoState(PointerWrap &p)
} }
// Regular thread // 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) while (dsp_lle->m_bIsRunning)
{ {
int cycles = (int)dsp_lle->m_cycle_count; int cycles = (int)dsp_lle->m_cycle_count;