mirror of
https://github.com/KrisKennaway/ii-vision.git
synced 2024-12-03 08:51:21 +00:00
Fix merge
This commit is contained in:
parent
e3cb6fe7d1
commit
a732a0e034
@ -51,8 +51,8 @@ class Video:
|
||||
if self.mode == mode.DHGR:
|
||||
self.aux_update_priority = np.zeros((32, 256), dtype=np.int)
|
||||
|
||||
def tick(self, cycles: int) -> bool:
|
||||
if cycles > (self.cycles_per_frame * self.frame_number):
|
||||
def tick(self, ticks: int) -> bool:
|
||||
if ticks >= (self.ticks_per_frame * self.frame_number):
|
||||
self.frame_number += 1
|
||||
return True
|
||||
return False
|
||||
|
Loading…
Reference in New Issue
Block a user