mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-12-26 11:11:48 +01:00
[Core/CD] added CDC decoder processing when disc is not playing (fixes MCD-verificator CDC Flags Test 0x30)
This commit is contained in:
parent
90c9c730f0
commit
904613f51c
@ -2,7 +2,7 @@
|
|||||||
* Genesis Plus
|
* Genesis Plus
|
||||||
* CD drive processor & CD-DA fader
|
* CD drive processor & CD-DA fader
|
||||||
*
|
*
|
||||||
* Copyright (C) 2012-2023 Eke-Eke (Genesis Plus GX)
|
* Copyright (C) 2012-2024 Eke-Eke (Genesis Plus GX)
|
||||||
*
|
*
|
||||||
* Redistribution and use of this code or any derivative works are permitted
|
* Redistribution and use of this code or any derivative works are permitted
|
||||||
* provided that the following conditions are met:
|
* provided that the following conditions are met:
|
||||||
@ -1812,9 +1812,14 @@ void cdd_update(void)
|
|||||||
scd.regs[0x36>>1].byte.h = 0x01;
|
scd.regs[0x36>>1].byte.h = 0x01;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
/* CDC decoder is still running while disc is not being read (fixes MCD-verificator CDC Flags Test #30) */
|
||||||
|
cdc_decoder_update(0);
|
||||||
|
}
|
||||||
|
|
||||||
/* scanning disc */
|
/* scanning disc */
|
||||||
else if (cdd.status == CD_SCAN)
|
if (cdd.status == CD_SCAN)
|
||||||
{
|
{
|
||||||
/* current track index */
|
/* current track index */
|
||||||
int index = cdd.index;
|
int index = cdd.index;
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
* Genesis Plus
|
* Genesis Plus
|
||||||
* CD drive processor & CD-DA fader
|
* CD drive processor & CD-DA fader
|
||||||
*
|
*
|
||||||
* Copyright (C) 2012-2023 Eke-Eke (Genesis Plus GX)
|
* Copyright (C) 2012-2024 Eke-Eke (Genesis Plus GX)
|
||||||
*
|
*
|
||||||
* Redistribution and use of this code or any derivative works are permitted
|
* Redistribution and use of this code or any derivative works are permitted
|
||||||
* provided that the following conditions are met:
|
* provided that the following conditions are met:
|
||||||
|
Loading…
Reference in New Issue
Block a user