mirror of
https://github.com/gopher64/gopher64.git
synced 2026-10-02 17:25:31 +02:00
add another sync point for RSP (#199)
This commit is contained in:
1 parent
687badc142
commit
7219a4445c
1 file changed
+3
@@ -273,6 +273,9 @@ pub fn read_regs(
|
||||
if value == device.rsp.last_status_value && value != 0 {
|
||||
device.rsp.cpu.sync_point = true;
|
||||
}
|
||||
if value & (SP_STATUS_DMA_BUSY | SP_STATUS_DMA_FULL) != 0 {
|
||||
device.rsp.cpu.sync_point = true;
|
||||
}
|
||||
device.rsp.last_status_value = value;
|
||||
device.rsp.regs[reg as usize]
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user