Skip to content

Commit

Permalink
Added log debug to CGB speed switching
Browse files Browse the repository at this point in the history
  • Loading branch information
Baekalfen committed Jan 17, 2025
1 parent 37a9397 commit 91fb146
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyboy/core/mb.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ def switch_speed(self):
self.double_speed = not self.double_speed
self.lcd.speed_shift = 1 if self.double_speed else 0
self.sound.speed_shift = 1 if self.double_speed else 0
logger.debug("CGB double speed is now: %d", self.double_speed)
self.key1 ^= 0b10000001

def breakpoint_add(self, bank, addr):
Expand Down

0 comments on commit 91fb146

Please sign in to comment.