NP2kai/sound/soundrom.h
2019-03-21 20:48:05 +09:00

27 lines
431 B
C
Executable File

/**
* @file soundrom.h
* @brief Interface of the sound rom
*/
#pragma once
typedef struct {
OEMCHAR name[24];
UINT32 address;
} SOUNDROM;
#ifdef __cplusplus
extern "C" {
#endif
extern SOUNDROM soundrom;
void soundrom_reset(void);
void soundrom_load(UINT32 address, const OEMCHAR *primary);
void soundrom_loadex(UINT sw, const OEMCHAR *primary);
void soundrom_loadsne(const OEMCHAR *primary);
#ifdef __cplusplus
}
#endif