linux compat

This commit is contained in:
2025-06-13 15:33:13 -06:00
parent 84952c134c
commit 800dcb2706
7 changed files with 74 additions and 19 deletions

View File

@ -59,6 +59,7 @@ typedef struct {
void cart_load_state(const cart_state*);
void cart_save_state(cart_state*);
bool cart_init();
bool cart_load(char *cart);
@ -73,4 +74,4 @@ bool cart_need_save();
bool cart_battery_load();
bool cart_battery_save();
u8 cart_get_rom_bank();
u8 cart_get_rom_bank();

View File

@ -67,7 +67,7 @@ u8 cpu_read_reg8(reg_type rt);
void cpu_set_reg8(reg_type rt, u8 val);
void fetch_data();
void fetch_data(cpu_context*);
u8 cpu_get_ie_register();
void cpu_set_ie_register(u8 ie);
@ -79,4 +79,4 @@ void cpu_set_int_flags(u8 value);
void inst_to_str(cpu_context *ctx, char *str);
void cpu_set_flags(cpu_context *ctx, int8_t z, int8_t n, int8_t h, int8_t c);
void cpu_set_flags(cpu_context *ctx, int8_t z, int8_t n, int8_t h, int8_t c);