notaz.gp2x.de
/
picodrive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f1b9bc
)
sound, fix ffw crash in PSG
author
kub
<derkub@gmail.com>
Sun, 3 Dec 2023 13:56:24 +0000
(14:56 +0100)
committer
kub
<derkub@gmail.com>
Sun, 3 Dec 2023 13:56:24 +0000
(14:56 +0100)
pico/sound/sn76496.c
patch
|
blob
|
blame
|
history
diff --git
a/pico/sound/sn76496.c
b/pico/sound/sn76496.c
index
27764a9
..
cb38311
100644
(file)
--- a/
pico/sound/sn76496.c
+++ b/
pico/sound/sn76496.c
@@
-60,7
+60,7
@@
struct SN76496
};
\r
\r
static struct SN76496 ono_sn; // one and only SN76496
\r
-int *sn76496_regs;
\r
+int *sn76496_regs
= ono_sn.Register
;
\r
\r
//static
\r
void SN76496Write(int data)
\r
@@
-264,7
+264,6
@@
int SN76496_init(int clock,int sample_rate)
int i;
\r
\r
//R->Channel = stream_create(0,1, sample_rate,R,SN76496Update);
\r
- sn76496_regs = R->Register;
\r
\r
R->SampleRate = sample_rate;
\r
SN76496_set_clock(R,clock);
\r