From a44658ec94a33a1eacd32a7c423ef4fcaa8c5f12 Mon Sep 17 00:00:00 2001 From: Adrian Conlon Date: Mon, 14 Jan 2019 02:23:48 +0000 Subject: [PATCH] Correct a coulple of newly introduced GB issues. Signed-off-by: Adrian Conlon --- LR35902/src/GameBoyBus.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/LR35902/src/GameBoyBus.cpp b/LR35902/src/GameBoyBus.cpp index 40923ae..755073e 100644 --- a/LR35902/src/GameBoyBus.cpp +++ b/LR35902/src/GameBoyBus.cpp @@ -11,6 +11,7 @@ EightBit::GameBoy::Bus::Bus() noexcept void EightBit::GameBoy::Bus::raisePOWER() { EightBit::Bus::raisePOWER(); CPU().raisePOWER(); + CPU().raiseINT(); reset(); } @@ -21,7 +22,7 @@ void EightBit::GameBoy::Bus::lowerPOWER() { void EightBit::GameBoy::Bus::reset() { IO().reset(); - LR35902::lower(CPU().RESET()); + CPU().lowerRESET(); } void EightBit::GameBoy::Bus::loadBootRom(const std::string& path) {