Small fix to display buffer and new rom addition.

This commit is contained in:
2026-05-19 08:05:43 +02:00
parent 951a16f024
commit ebb3de3784
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -23,13 +23,14 @@ main :: proc() {
system := chip.init()
// load rom, hardcoded for now, will eventually be cli or gui
err := chip.load_rom(&system, "./2-ibm-logo.ch8")
// err := chip.load_rom(&system, "./2-ibm-logo.ch8")
err := chip.load_rom(&system, "./1-chip8-logo.ch8")
if err != nil {
panic("failed to load rom!")
}
// start the cycle
chip.init_display_and_cycle(&system)
chip.run_system(&system)
when DEV {
if len(track.allocation_map) > 0 {