Skip to content

Commit

Permalink
Fix DMG build
Browse files Browse the repository at this point in the history
  • Loading branch information
elipsitz committed Sep 24, 2023
1 parent 849e633 commit c83c94e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/scala/gameboy/Gameboy.scala
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,11 @@ class Gameboy(config: Gameboy.Configuration) extends Module {
cpu.io.clocker.enable := systemControl.io.clocker.enable && !vramDma.io.active
cpu.io.clocker.phiPulse := systemControl.io.clocker.phiPulse && !vramDma.io.active
cpu.io.clocker.pulse4Mhz := systemControl.io.clocker.pulse4Mhz && !vramDma.io.active
} else {
vramDma.io.enabled := false.B
vramDma.io.address := DontCare
vramDma.io.dataWrite := DontCare
vramDma.io.write := DontCare
}

// External bus read/write logic
Expand Down

0 comments on commit c83c94e

Please sign in to comment.