mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
SPU interpreter (basic concept)
This commit is contained in:
parent
620e937473
commit
63276a3f84
7 changed files with 1552 additions and 18 deletions
|
|
@ -569,7 +569,7 @@ void PPUThread::DoRun()
|
|||
{
|
||||
m_dec = nullptr;
|
||||
|
||||
switch(Ini.CPUDecoderMode.GetValue())
|
||||
switch (auto mode = Ini.CPUDecoderMode.GetValue())
|
||||
{
|
||||
case 0: // original interpreter
|
||||
{
|
||||
|
|
@ -598,9 +598,11 @@ void PPUThread::DoRun()
|
|||
//case 3: m_dec = new PPURecompiler(*this); break;
|
||||
|
||||
default:
|
||||
LOG_ERROR(PPU, "Invalid CPU decoder mode: %d", Ini.CPUDecoderMode.GetValue());
|
||||
{
|
||||
LOG_ERROR(PPU, "Invalid CPU decoder mode: %d", mode);
|
||||
Emu.Pause();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void PPUThread::DoResume()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue