mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 13:27:45 -07:00
WII_IPC: rewrite multiply as 100_tbticks literal (NFC)
This commit is contained in:
parent
c7cbac538a
commit
a02cbc9b78
@ -290,8 +290,7 @@ void WiiIPC::GenerateAck(u32 address)
|
||||
m_ctrl.Y1, m_ctrl.Y2, m_ctrl.X1);
|
||||
// Based on a hardware test, the IPC interrupt takes approximately 100 TB ticks to fire
|
||||
// after Y2 is seen in the control register.
|
||||
m_system.GetCoreTiming().ScheduleEvent(100 * SystemTimers::TIMER_RATIO,
|
||||
m_event_type_update_interrupts);
|
||||
m_system.GetCoreTiming().ScheduleEvent(100_tbticks, m_event_type_update_interrupts);
|
||||
}
|
||||
|
||||
void WiiIPC::GenerateReply(u32 address)
|
||||
@ -302,8 +301,7 @@ void WiiIPC::GenerateReply(u32 address)
|
||||
m_ctrl.Y1, m_ctrl.Y2, m_ctrl.X1);
|
||||
// Based on a hardware test, the IPC interrupt takes approximately 100 TB ticks to fire
|
||||
// after Y1 is seen in the control register.
|
||||
m_system.GetCoreTiming().ScheduleEvent(100 * SystemTimers::TIMER_RATIO,
|
||||
m_event_type_update_interrupts);
|
||||
m_system.GetCoreTiming().ScheduleEvent(100_tbticks, m_event_type_update_interrupts);
|
||||
}
|
||||
|
||||
bool WiiIPC::IsReady() const
|
||||
|
Loading…
Reference in New Issue
Block a user