Renamed gui to simulator as a better structure.

This commit is contained in:
2026-06-09 08:16:53 +02:00
parent 2df6a14610
commit f8ef6f030f
12 changed files with 153 additions and 34 deletions
+2 -2
View File
@@ -61,9 +61,9 @@ init :: proc() -> System {
return s
}
run_machine :: proc(s: ^System) {
run_machine :: proc(s: ^System, cycles: int) {
// CPU cycles
for _ in 0..<12 {
for _ in 0..<cycles {
handle_input(s)
cycle(s)
}