working on debug menu
This commit is contained in:
@ -33,6 +33,7 @@ typedef struct {
|
||||
bool enabling_ime;
|
||||
u8 ie_register;
|
||||
u8 int_flags;
|
||||
u16 inst_pc;
|
||||
} cpu_context;
|
||||
|
||||
typedef struct {
|
||||
@ -42,6 +43,8 @@ typedef struct {
|
||||
void cpu_save_state(cpu_state*);
|
||||
void cpu_load_state(const cpu_state*);
|
||||
|
||||
void fetch_instruction(cpu_context *ctx);
|
||||
|
||||
void cpu_init();
|
||||
bool cpu_step();
|
||||
|
||||
|
Reference in New Issue
Block a user