mirror of
https://github.com/gopher64/gopher64.git
synced 2026-07-11 01:25:20 +02:00
watch for dp freeze
This commit is contained in:
+2
-1
@@ -124,7 +124,8 @@ pub fn update_dpc_status(device: &mut device::Device, w: u32) {
|
||||
device.rdp.regs_dpc[DPC_STATUS_REG as usize] &= !DPC_STATUS_FREEZE
|
||||
}
|
||||
if w & DPC_SET_FREEZE != 0 {
|
||||
device.rdp.regs_dpc[DPC_STATUS_REG as usize] |= DPC_STATUS_FREEZE
|
||||
device.rdp.regs_dpc[DPC_STATUS_REG as usize] |= DPC_STATUS_FREEZE;
|
||||
panic!("DP freeze")
|
||||
}
|
||||
|
||||
/* clear / set flush */
|
||||
|
||||
Reference in New Issue
Block a user