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