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