some random fixes.

This commit is contained in:
2025-02-19 21:35:26 -07:00
parent 435a4c5ebe
commit 5da4219f09
10 changed files with 70 additions and 10 deletions

View File

@ -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();

View File

@ -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);

View File

@ -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();