Refactor timing to allow sync/updates in the middle of a slice
This commit is contained in:
parent
ad316162f3
commit
c988af453c
10 changed files with 74 additions and 36 deletions
|
|
@ -57,7 +57,9 @@ void InterruptController::WriteRegister(u32 offset, u32 value)
|
|||
{
|
||||
case 0x00: // I_STATUS
|
||||
{
|
||||
Log_DebugPrintf("Clearing bits 0x%08X", value);
|
||||
if ((m_interrupt_status_register & ~value) != 0)
|
||||
Log_DebugPrintf("Clearing bits 0x%08X", (m_interrupt_status_register & ~value));
|
||||
|
||||
m_interrupt_status_register = m_interrupt_status_register & (value & REGISTER_WRITE_MASK);
|
||||
UpdateCPUInterruptRequest();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue