Pad: Fix timing issues w/ BIOS
This commit is contained in:
parent
734d1a7ee1
commit
5d1c12c9ad
4 changed files with 127 additions and 22 deletions
|
|
@ -49,7 +49,7 @@ bool System::Initialize()
|
|||
if (!m_cdrom->Initialize(this, m_dma.get(), m_interrupt_controller.get()))
|
||||
return false;
|
||||
|
||||
if (!m_pad->Initialize(m_interrupt_controller.get()))
|
||||
if (!m_pad->Initialize(this, m_interrupt_controller.get()))
|
||||
return false;
|
||||
|
||||
if (!m_timers->Initialize(this, m_interrupt_controller.get()))
|
||||
|
|
@ -219,6 +219,7 @@ void System::Synchronize()
|
|||
m_gpu->Execute(pending_ticks);
|
||||
m_timers->AddSystemTicks(pending_ticks);
|
||||
m_cdrom->Execute(pending_ticks);
|
||||
m_pad->Execute(pending_ticks);
|
||||
}
|
||||
|
||||
void System::SetDowncount(TickCount downcount)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue