- CD_Enable is also needed to implement ZDoom's CD player.

This commit is contained in:
Christoph Oelckers 2020-02-08 13:55:30 +01:00
parent 00bc98db2d
commit ee291e37d0
3 changed files with 2 additions and 2 deletions

View file

@ -353,6 +353,7 @@ extern "C"
// Closes a CD device previously opened with CD_Init
DLL_IMPORT void CD_Close();
DLL_IMPORT zmusic_bool CD_Enable(const char* drive);
#ifdef __cplusplus

View file

@ -414,7 +414,7 @@ static void KillThread ()
//
//==========================================================================
bool CD_Enable (const char *cd_drive)
DLL_EXPORT zmusic_bool CD_Enable (const char *cd_drive)
{
if (!cd_drive)
{

View file

@ -48,7 +48,6 @@ enum ECDModes
// Opens a CD device. If device is non-negative, it specifies which device
// to open. 0 is drive A:, 1 is drive B:, etc. If device is not specified,
// the user's preference is used to decide which device to open.
bool CD_Enable (const char *drive);
bool CD_Init (int device = -1);
// Open a CD device containing a specific CD. Tries device guess first.