diff --git a/LR35902/inc/GameBoyBus.h b/LR35902/inc/GameBoyBus.h index 8af9fd3..4d7f39c 100644 --- a/LR35902/inc/GameBoyBus.h +++ b/LR35902/inc/GameBoyBus.h @@ -99,7 +99,7 @@ namespace EightBit { DisplayControlStatus = Processor::Bit1, // LCDC Status TimerOverflow = Processor::Bit2, // Timer Overflow SerialTransfer = Processor::Bit3, // Serial Transfer - KeypadPressed = Processor::Bit3 // Hi-Lo transition of P10-P13 + KeypadPressed = Processor::Bit4 // Hi-Lo transition of P10-P13 }; enum LcdcControl { @@ -330,7 +330,7 @@ namespace EightBit { } void triggerKeypadInterrupt() { - //triggerInterrupt(Interrupts::KeypadPressed); + triggerInterrupt(Interrupts::KeypadPressed); } void Bus_WrittenByte(uint16_t address);