Fix mapping in gbdif
This commit is contained in:
parent
77e24a6803
commit
ec4adf289f
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ int main(int argc, char** argv)
|
||||||
BoundRegister ie_mapped(cpu.state.IE);
|
BoundRegister ie_mapped(cpu.state.IE);
|
||||||
BoundRegister if_mapped(cpu.state.IF);
|
BoundRegister if_mapped(cpu.state.IF);
|
||||||
b.map_device(0xFFFF, 0xFFFF, &ie_mapped);
|
b.map_device(0xFFFF, 0xFFFF, &ie_mapped);
|
||||||
b.map_device(0xFF0F, 0xFF0F, &ie_mapped);
|
b.map_device(0xFF0F, 0xFF0F, &if_mapped);
|
||||||
|
|
||||||
cpu.state.A = 0x1;
|
cpu.state.A = 0x1;
|
||||||
cpu.state.carry = true;
|
cpu.state.carry = true;
|
||||||
|
|
Loading…
Reference in a new issue