#ifndef __SEGA_SATSOUND_H__
#define __SEGA_SATSOUND_H__
#include "emuconfig.h"
#ifdef __cplusplus
extern "C" {
#endif
sint32 EMU_CALL satsound_init(void);
uint32 EMU_CALL satsound_get_state_size(void);
void EMU_CALL satsound_clear_state(void *state);
void* EMU_CALL satsound_get_scpu_state(void *state);
void* EMU_CALL satsound_get_yam_state(void *state);
uint16 EMU_CALL satsound_getword(void *state, uint32 a);
void EMU_CALL satsound_setword(void *state, uint32 a, uint16 d);
void EMU_CALL satsound_upload_to_ram(void *state, uint32 address, void *src, uint32 len);
sint32 EMU_CALL satsound_execute(
void *state,
sint32 cycles,
sint16 *sound_buf,
uint32 *sound_samples
);
uint32 EMU_CALL satsound_get_pc(void *state);
#ifdef __cplusplus
}
#endif
#endif