Merge pull request #13086 from Tilka/gameini

GameSettings: safe texture cache for "Winter Sports 3: The Great Tournament"
This commit is contained in:
Jules Blok 2024-10-09 02:06:51 +02:00 committed by GitHub
commit 7db13d23c9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 19 additions and 4 deletions

View file

@ -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