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

fix: removed returns that were not needed

parent 8366c1ff
No related branches found
No related tags found
No related merge requests found
Pipeline #796 passed
......@@ -324,16 +324,10 @@ impl Chip8 for Chip8Neo {
}
fn clock_dt(&mut self) {
if self.paused {
return;
}
self.dt = self.dt.saturating_sub(1)
}
fn clock_st(&mut self) {
if self.paused {
return;
}
self.st = self.st.saturating_sub(1)
}
......
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