mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 15:49:25 +01: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);
|
m_ctrl.Y1, m_ctrl.Y2, m_ctrl.X1);
|
||||||
// Based on a hardware test, the IPC interrupt takes approximately 100 TB ticks to fire
|
// Based on a hardware test, the IPC interrupt takes approximately 100 TB ticks to fire
|
||||||
// after Y2 is seen in the control register.
|
// after Y2 is seen in the control register.
|
||||||
m_system.GetCoreTiming().ScheduleEvent(100 * SystemTimers::TIMER_RATIO,
|
m_system.GetCoreTiming().ScheduleEvent(100_tbticks, m_event_type_update_interrupts);
|
||||||
m_event_type_update_interrupts);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void WiiIPC::GenerateReply(u32 address)
|
void WiiIPC::GenerateReply(u32 address)
|
||||||
@ -302,8 +301,7 @@ void WiiIPC::GenerateReply(u32 address)
|
|||||||
m_ctrl.Y1, m_ctrl.Y2, m_ctrl.X1);
|
m_ctrl.Y1, m_ctrl.Y2, m_ctrl.X1);
|
||||||
// Based on a hardware test, the IPC interrupt takes approximately 100 TB ticks to fire
|
// Based on a hardware test, the IPC interrupt takes approximately 100 TB ticks to fire
|
||||||
// after Y1 is seen in the control register.
|
// after Y1 is seen in the control register.
|
||||||
m_system.GetCoreTiming().ScheduleEvent(100 * SystemTimers::TIMER_RATIO,
|
m_system.GetCoreTiming().ScheduleEvent(100_tbticks, m_event_type_update_interrupts);
|
||||||
m_event_type_update_interrupts);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool WiiIPC::IsReady() const
|
bool WiiIPC::IsReady() const
|
||||||
|
Loading…
x
Reference in New Issue
Block a user