Include imm16's in the word count (fix the infinite loop bug yay!)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user