diff --git a/src/processor/memory/interrupts.rs b/src/processor/memory/interrupts.rs index 90b0540..cc7e531 100644 --- a/src/processor/memory/interrupts.rs +++ b/src/processor/memory/interrupts.rs @@ -11,8 +11,7 @@ struct InterruptRegister { impl InterruptRegister { fn as_register(&self) -> u8 { - 0b11100000 - | bool_to_shifted(self.vblank, 0) + bool_to_shifted(self.vblank, 0) | bool_to_shifted(self.lcd_stat, 1) | bool_to_shifted(self.timer, 2) | bool_to_shifted(self.serial, 3)