mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-06 15:48:05 -04:00
audio: add option to switch off SSG-EG
This commit is contained in:
parent
1dbda5f894
commit
324bd6852e
9 changed files with 21 additions and 17 deletions
|
@ -282,7 +282,7 @@ void sharedmem940_finish(void)
|
|||
}
|
||||
|
||||
|
||||
void YM2612Init_940(int baseclock, int rate)
|
||||
void YM2612Init_940(int baseclock, int rate, int ssg)
|
||||
{
|
||||
static int oldrate;
|
||||
|
||||
|
@ -339,7 +339,7 @@ void YM2612Init_940(int baseclock, int rate)
|
|||
memset(shared_ctl, 0, sizeof(*shared_ctl));
|
||||
|
||||
/* cause local ym2612 to init REGS */
|
||||
YM2612Init_(baseclock, rate);
|
||||
YM2612Init_(baseclock, rate, ssg);
|
||||
|
||||
internal_reset();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue