Skip to content
Snippets Groups Projects
Verified Commit 3d9c0ec9 authored by João Magalhães's avatar João Magalhães :rocket:
Browse files

docs: docstring added

parent 61f45555
No related branches found
No related tags found
No related merge requests found
Pipeline #4141 passed
......@@ -484,6 +484,8 @@ impl GameBoy {
cycles
}
/// Equivalent to `clock()` but allows the execution of multiple
/// clock operations in a single call.
pub fn clocks(&mut self, count: usize) -> u64 {
let mut cycles = 0_u64;
for _ in 0..count {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment