better halt panic

This commit is contained in:
Alex Janka 2023-01-17 09:32:49 +11:00
parent d2e1b2d3eb
commit 2fd4266156

View file

@ -299,7 +299,7 @@ impl CPU {
self.memory
.set(self.state.hl.as_u16, self.state.hl.as_u8s.right)
},
0x76 => panic!("HALT instruction: 0x76"),
0x76 => panic!("HALT until interrupt... instruction: 0x76"),
0x77 => unsafe {
self.memory
.set(self.state.hl.as_u16, self.state.af.as_u8s.left)