From ad485d434adfa2f01e643e321b9e23c17df1edd0 Mon Sep 17 00:00:00 2001 From: aliaspider Date: Wed, 10 Dec 2014 11:06:17 +0100 Subject: implement retro_serialize/unserialize --- sound.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'sound.h') diff --git a/sound.h b/sound.h index 72257e8..1f9090a 100644 --- a/sound.h +++ b/sound.h @@ -25,10 +25,7 @@ #define GBA_SOUND_FREQUENCY (64 * 1024) - -#define GBA_XTAL 16777216.0f - -#define GBC_BASE_RATE GBA_XTAL +#define GBC_BASE_RATE ((float)(16 * 1024 * 1024)) typedef enum { @@ -120,8 +117,8 @@ void sound_timer(fixed8_24 frequency_step, u32 channel); void sound_reset_fifo(u32 channel); void update_gbc_sound(u32 cpu_ticks); void init_sound(int need_reset); -void sound_write_mem_savestate(file_tag_type savestate_file); -void sound_read_savestate(file_tag_type savestate_file); +void sound_write_savestate(void); +void sound_read_savestate(void); void render_audio(void); -- cgit v1.2.3