mcd, fix crash when unloading cd while playing audio

This commit is contained in:
kub 2021-05-06 21:14:12 +02:00
parent d94eec4446
commit 7e77080f45

View file

@ -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)
{