1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-23 03:32:32 +00:00

Adds, and comments out, a useful temporary piece of debugging logging.

This commit is contained in:
Thomas Harte 2020-01-23 22:14:22 -05:00
parent 9136917f00
commit 7bac439e95

View File

@ -327,6 +327,11 @@ struct ActivityObserver: public Activity::Observer {
- (void)updateViewForPixelSize:(CGSize)pixelSize {
_scanTarget->update((int)pixelSize.width, (int)pixelSize.height);
// @synchronized(self) {
// const auto scan_status = _machine->crt_machine()->get_scan_status();
// NSLog(@"FPS (hopefully): %0.2f [retrace: %0.4f]", 1.0f / scan_status.field_duration, scan_status.retrace_duration);
// }
}
- (void)drawViewForPixelSize:(CGSize)pixelSize {