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:
d94eec4
)
mcd, fix crash when unloading cd while playing audio
author
kub
<derkub@gmail.com>
Thu, 6 May 2021 19:14:12 +0000
(21:14 +0200)
committer
kub
<derkub@gmail.com>
Thu, 6 May 2021 19:22:31 +0000
(21:22 +0200)
pico/cd/cdd.c
patch
|
blob
|
blame
|
history
diff --git
a/pico/cd/cdd.c
b/pico/cd/cdd.c
index
fd78c35
..
00e12ba
100644
(file)
--- a/
pico/cd/cdd.c
+++ b/
pico/cd/cdd.c
@@
-444,6
+444,9
@@
int cdd_unload(void)
{
int i;
+ /* stop audio streaming */
+ Pico_mcd->cdda_stream = NULL;
+
/* close CD tracks */
if (cdd.toc.tracks[0].fd)
{