add file loading
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
#include "emu.h"
|
||||
|
||||
inline Instruction fetchInst(Emulator* emu) {
|
||||
return decodeInstruction(emu->mem, &emu->pc);
|
||||
Instruction inst = decodeInstruction(emu->mem, &emu->pc);
|
||||
printf("%s\n", instructionToCStr(inst));
|
||||
return inst;
|
||||
}
|
||||
|
||||
inline void updateFlagsRegister(Emulator* emu, int32_t value) {
|
||||
|
||||
Reference in New Issue
Block a user