Fix reset instruction to reset bus, not cpu
This commit is contained in:
parent
7656d04cd8
commit
f728080c92
@ -421,7 +421,9 @@ impl M68K {
|
|||||||
MoveDirection::RegToMem => self.usp = self.read_effective(areg, Size::Long),
|
MoveDirection::RegToMem => self.usp = self.read_effective(areg, Size::Long),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Instruction::Reset => self.reset(),
|
Instruction::Reset => {
|
||||||
|
self.bus.reset();
|
||||||
|
}
|
||||||
Instruction::Nop => (),
|
Instruction::Nop => (),
|
||||||
Instruction::Stop(sr) => {
|
Instruction::Stop(sr) => {
|
||||||
self.sr = sr;
|
self.sr = sr;
|
||||||
|
Loading…
Reference in New Issue
Block a user