DMA: Properly handle infinite linked lists, add cycle stealing
Fixes Tekken 2, Hot Wheels Turbo Racing, probably others.
This commit is contained in:
parent
07e8ddcae2
commit
9d1eb321ec
5 changed files with 118 additions and 26 deletions
|
|
@ -766,8 +766,10 @@ bool System::SetExpansionROM(const char* filename)
|
|||
void System::StallCPU(TickCount ticks)
|
||||
{
|
||||
m_cpu->AddPendingTicks(ticks);
|
||||
#if 0
|
||||
if (m_cpu->GetPendingTicks() >= m_cpu->GetDowncount() && !m_running_events)
|
||||
RunEvents();
|
||||
#endif
|
||||
}
|
||||
|
||||
Controller* System::GetController(u32 slot) const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue