better halt panic
This commit is contained in:
parent
d2e1b2d3eb
commit
2fd4266156
1 changed files with 1 additions and 1 deletions
|
@ -299,7 +299,7 @@ impl CPU {
|
||||||
self.memory
|
self.memory
|
||||||
.set(self.state.hl.as_u16, self.state.hl.as_u8s.right)
|
.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 {
|
0x77 => unsafe {
|
||||||
self.memory
|
self.memory
|
||||||
.set(self.state.hl.as_u16, self.state.af.as_u8s.left)
|
.set(self.state.hl.as_u16, self.state.af.as_u8s.left)
|
||||||
|
|
Loading…
Add table
Reference in a new issue