Small cleanup with new run machine proc.

This commit is contained in:
2026-06-05 08:10:24 +02:00
parent 31cbcb38e8
commit 141aea0fc4
3 changed files with 35 additions and 33 deletions
+8
View File
@@ -60,3 +60,11 @@ init :: proc() -> System {
return s
}
run_machine :: proc(s: ^System) {
// CPU cycles
for _ in 0..<12 {
handle_input(s)
cycle(s)
}
}