Include imm16's in the word count (fix the infinite loop bug yay!)

This commit is contained in:
2026-07-17 12:48:04 +10:00
parent f786235064
commit 8f64b17777
4 changed files with 9 additions and 3 deletions

View File

@@ -36,6 +36,7 @@ int main(int argc, char** argv) {
}
memcpy(emu->mem->data + MEM_PROGRAM_START, rom->instructions, sizeof(SerializedInst) * rom->header.numInstructions);
emu->pc = MEM_PROGRAM_START;
startEmulator(emu);
freeEmulator(emu);