Add format error trap
This commit is contained in:
parent
93d366bdc9
commit
f42bb4e6dc
@ -747,6 +747,11 @@ impl M68K {
|
||||
} else if last_cycle.is_err() {
|
||||
self.stored_mem_cycles.pop();
|
||||
}
|
||||
} if format == 0 {
|
||||
// Nothing extra needed
|
||||
} else {
|
||||
self.trap(14)?;
|
||||
return Err(InsExecError::AbnormalTrap);
|
||||
}
|
||||
self.sr = orig_sr;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user