[doc] comments
This commit is contained in:
@@ -77,6 +77,7 @@ fn main() -> EmulatorResult<()> {
|
|||||||
|
|
||||||
canvas.present();
|
canvas.present();
|
||||||
|
|
||||||
|
// 60fps - small offset to consider for cpu cycle time
|
||||||
::std::thread::sleep(Duration::new(0, 1_000_000_000u32 / 60 - 2000_000));
|
::std::thread::sleep(Duration::new(0, 1_000_000_000u32 / 60 - 2000_000));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user