mirror of
https://github.com/jtauber/applepy.git
synced 2024-11-29 05:49:24 +00:00
Merge branch 'timer' into pypy
This commit is contained in:
commit
493236e06f
@ -386,7 +386,7 @@ class Apple2:
|
||||
if self.speaker:
|
||||
self.speaker.update(cycle)
|
||||
update_cycle = 0
|
||||
print (cycle - last_update_cycle_cycles) / (time.time() - last_update_cycle_time)
|
||||
print "%d\r" % ((cycle - last_update_cycle_cycles) / (time.time() - last_update_cycle_time)),
|
||||
last_update_cycle_time = time.time()
|
||||
last_update_cycle_cycles = cycle
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user