Skip to content

Commit

Permalink
sound, fix ffw crash in PSG
Browse files Browse the repository at this point in the history
  • Loading branch information
irixxxx committed Dec 3, 2023
1 parent 0f1b9bc commit 6396f46
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pico/sound/sn76496.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ struct SN76496
};

static struct SN76496 ono_sn; // one and only SN76496
int *sn76496_regs;
int *sn76496_regs = ono_sn.Register;

//static
void SN76496Write(int data)
Expand Down Expand Up @@ -264,7 +264,6 @@ int SN76496_init(int clock,int sample_rate)
int i;

//R->Channel = stream_create(0,1, sample_rate,R,SN76496Update);
sn76496_regs = R->Register;

R->SampleRate = sample_rate;
SN76496_set_clock(R,clock);
Expand Down

0 comments on commit 6396f46

Please sign in to comment.