mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 06:51:26 +12:00
Initial commit
This commit is contained in:
parent
b5a4e21c81
commit
6a0ce1850a
4 changed files with 24 additions and 15 deletions
|
@ -94,18 +94,21 @@ void PPUThread::CloseStack()
|
|||
|
||||
void PPUThread::DoRun()
|
||||
{
|
||||
m_dec = nullptr;
|
||||
|
||||
switch(Ini.CPUDecoderMode.GetValue())
|
||||
{
|
||||
case 0:
|
||||
//m_dec = new PPUDecoder(*new PPUDisAsm());
|
||||
break;
|
||||
|
||||
case 1:
|
||||
case 0: // original interpreter
|
||||
{
|
||||
auto ppui = new PPUInterpreter(*this);
|
||||
m_dec = new PPUDecoder(ppui);
|
||||
break;
|
||||
}
|
||||
|
||||
case 1: // alternative interpreter
|
||||
{
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
||||
case 2:
|
||||
#ifdef PPU_LLVM_RECOMPILER
|
||||
|
@ -217,10 +220,14 @@ void PPUThread::Task()
|
|||
{
|
||||
custom_task(*this);
|
||||
}
|
||||
else
|
||||
else if (m_dec)
|
||||
{
|
||||
CPUThread::Task();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
ppu_thread::ppu_thread(u32 entry, const std::string& name, u32 stack_size, u32 prio)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue