clean up main.rs

This commit is contained in:
2026-03-16 13:07:33 +01:00
parent fee5dc3099
commit 677521ca98
6 changed files with 44 additions and 40 deletions

View File

@@ -290,7 +290,7 @@ func main[argc: i64, argv: ptr] : i64
let c: CHIP8 = chip8_create()
let buffer: io.Buffer = io.read_binary_file(path)
let buffer: io.Buffer = must(io.read_binary_file?(path))
for i in 0..buffer->size
c->memory[0x200 + i] = buffer->data[i]