mirror of
https://github.com/ZDoom/ZMusic.git
synced 2024-11-27 14:12:09 +00:00
- CD_Enable is also needed to implement ZDoom's CD player.
This commit is contained in:
parent
00bc98db2d
commit
ee291e37d0
3 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue