diff --git a/src/python/boytacean/pyboy.py b/src/python/boytacean/pyboy.py index 36c2a193..c2020365 100644 --- a/src/python/boytacean/pyboy.py +++ b/src/python/boytacean/pyboy.py @@ -163,8 +163,12 @@ class PyBoy(GameBoy): PyBoy compatible class for the GameBoy emulator, should be able to be used as a drop-in replacement for PyBoy that makes use of Boytacean as the runtime. + + :see: https://github.com/Baekalfen/PyBoy/blob/master/pyboy/pyboy.py """ + _emulation_speed: float | None = None + def __init__( self, gamerom_file, @@ -215,7 +219,10 @@ def __exit__(self, exc_type, exc_value, traceback): self.stop() def set_emulation_speed(self, speed: float): - # @TODO: implement emulation speed control + # @TODO: implement emulation speed control, this + # should affect how the next_frame method behaves + # and handle the speed of the emulation + self._emulation_speed = speed print("Missing emulation speed control") def tick(self):