mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
mcd, fix crash when unloading cd while playing audio
This commit is contained in:
parent
d94eec4446
commit
7e77080f45
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue