fix: replace accidental removal of code in Cpu.ChangeMode
This commit is contained in:
parent
45f65ce877
commit
f500da5f10
|
@ -247,6 +247,8 @@ pub const Arm7tdmi = struct {
|
|||
self.spsr = self.banked_spsr[bankedSpsrIndex(next)];
|
||||
},
|
||||
}
|
||||
|
||||
self.cpsr.mode.write(@enumToInt(next));
|
||||
}
|
||||
|
||||
pub fn fastBoot(self: *Self) void {
|
||||
|
|
Loading…
Reference in New Issue