mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-12-28 01:29:18 +00:00
Correct a coulple of newly introduced GB issues.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
parent
92d23d82d6
commit
a44658ec94
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user