Correct a coulple of newly introduced GB issues.

Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
Adrian Conlon 2019-01-14 02:23:48 +00:00
parent 92d23d82d6
commit a44658ec94

View File

@ -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) {