mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-02-17 00:52:00 +00:00
Added SDL_INIT for cd-rom.
This commit is contained in:
parent
32fe653e47
commit
5a1ef7ca3d
1 changed files with 4 additions and 0 deletions
|
@ -160,6 +160,10 @@ int CDAudio_Init()
|
|||
if (COM_CheckParm("-nocdaudio"))
|
||||
return -1;
|
||||
|
||||
if ( SDL_Init(SDL_INIT_CDROM) < 0 ) {
|
||||
Con_Printf("Couldn't initialize SDL CD-AUDIO: %s\n",SDL_GetError());
|
||||
return -1;
|
||||
}
|
||||
cd_id = SDL_CDOpen(0);
|
||||
if(!cd_id)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue