Switched to OPL emulation to DOSBox dbopl emulator.
Fixed SB Pro v2. Clarified GPL license in readme.txt.
This commit is contained in:
parent
31bc0ef789
commit
78f2d4a229
13 changed files with 1985 additions and 5609 deletions
12
src/sound_dbopl.h
Normal file
12
src/sound_dbopl.h
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
void opl_init(void (*timer_callback)(void *param, int timer, int64_t period), void *timer_param, int nr, int is_opl3);
|
||||
void opl_write(int nr, uint16_t addr, uint8_t val);
|
||||
uint8_t opl_read(int nr, uint16_t addr);
|
||||
void opl_timer_over(int nr, int timer);
|
||||
void opl2_update(int nr, int16_t *buffer, int samples);
|
||||
void opl3_update(int nr, int16_t *bufferl, int16_t *bufferr, int samples);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
Loading…
Reference in a new issue