mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
sound, fix ffw crash in PSG
This commit is contained in:
parent
0f1b9bccc0
commit
6396f46107
1 changed files with 1 additions and 2 deletions
|
@ -60,7 +60,7 @@ struct SN76496
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct SN76496 ono_sn; // one and only SN76496
|
static struct SN76496 ono_sn; // one and only SN76496
|
||||||
int *sn76496_regs;
|
int *sn76496_regs = ono_sn.Register;
|
||||||
|
|
||||||
//static
|
//static
|
||||||
void SN76496Write(int data)
|
void SN76496Write(int data)
|
||||||
|
@ -264,7 +264,6 @@ int SN76496_init(int clock,int sample_rate)
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
//R->Channel = stream_create(0,1, sample_rate,R,SN76496Update);
|
//R->Channel = stream_create(0,1, sample_rate,R,SN76496Update);
|
||||||
sn76496_regs = R->Register;
|
|
||||||
|
|
||||||
R->SampleRate = sample_rate;
|
R->SampleRate = sample_rate;
|
||||||
SN76496_set_clock(R,clock);
|
SN76496_set_clock(R,clock);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue