mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-23 11:32:37 +00:00
DSPLLE:
Enable the SET40 sign extension stuff. Try to separate the "core" from the "interpreter" logically, a little bit. It's still a bit of a fuzzy border. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3128 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
dfb5fef792
commit
2352cf0fed
18 changed files with 363 additions and 293 deletions
|
@ -33,6 +33,7 @@
|
|||
#include "ChunkFile.h"
|
||||
|
||||
#include "DSPTables.h"
|
||||
#include "DSPCore.h"
|
||||
|
||||
#if defined(HAVE_WX) && HAVE_WX
|
||||
#include "DSPConfigDlgLLE.h"
|
||||
|
@ -178,7 +179,7 @@ THREAD_RETURN dsp_thread(void* lpParameter)
|
|||
{
|
||||
while (bIsRunning)
|
||||
{
|
||||
gdsp_run();
|
||||
DSPInterpreter::gdsp_run();
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
@ -248,7 +249,7 @@ void Initialize(void *init)
|
|||
|
||||
void DSP_StopSoundStream()
|
||||
{
|
||||
gdsp_stop();
|
||||
DSPInterpreter::gdsp_stop();
|
||||
bIsRunning = false;
|
||||
if (g_dspInitialize.bOnThread)
|
||||
{
|
||||
|
@ -265,13 +266,13 @@ void Shutdown()
|
|||
|
||||
u16 DSP_WriteControlRegister(u16 _uFlag)
|
||||
{
|
||||
gdsp_write_cr(_uFlag);
|
||||
return gdsp_read_cr();
|
||||
DSPInterpreter::gdsp_write_cr(_uFlag);
|
||||
return DSPInterpreter::gdsp_read_cr();
|
||||
}
|
||||
|
||||
u16 DSP_ReadControlRegister()
|
||||
{
|
||||
return gdsp_read_cr();
|
||||
return DSPInterpreter::gdsp_read_cr();
|
||||
}
|
||||
|
||||
u16 DSP_ReadMailboxHigh(bool _CPUMailbox)
|
||||
|
@ -342,7 +343,7 @@ void DSP_Update(int cycles)
|
|||
// If we're not on a thread, run cycles here.
|
||||
if (!g_dspInitialize.bOnThread)
|
||||
{
|
||||
gdsp_run_cycles(cycles);
|
||||
DSPInterpreter::gdsp_run_cycles(cycles);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue