some random fixes.
This commit is contained in:
@ -28,4 +28,6 @@ void cart_write(u16 address, u8 value);
|
||||
|
||||
bool cart_need_save();
|
||||
bool cart_battery_load();
|
||||
bool cart_battery_save();
|
||||
bool cart_battery_save();
|
||||
|
||||
u8 cart_get_rom_bank();
|
@ -47,6 +47,8 @@ IN_PROC inst_get_processor(in_type type);
|
||||
#define CPU_FLAG_H BIT(ctx->regs.f, 5)
|
||||
#define CPU_FLAG_C BIT(ctx->regs.f, 4)
|
||||
|
||||
cpu_context *cpu_get_context();
|
||||
|
||||
u16 cpu_read_reg(reg_type rt);
|
||||
|
||||
void cpu_set_reg(reg_type rt, u16 val);
|
||||
|
@ -17,6 +17,7 @@ void gamepad_init();
|
||||
bool gamepad_button_sel();
|
||||
bool gamepad_dir_sel();
|
||||
void gamepad_set_sel(u8 value);
|
||||
void gamepad_int_update();
|
||||
|
||||
gamepad_state *gamepad_get_state();
|
||||
u8 gamepad_get_output();
|
Reference in New Issue
Block a user