cdmus: Change I_CDMusInit() to return failure.
CD music support has basically been removed now, so this function should return -1 to indicate failure. But print an error message and provide a useful link to an alternative.
This commit is contained in:
parent
5c4a7a14d1
commit
6e8dc57e94
1 changed files with 5 additions and 1 deletions
|
|
@ -28,7 +28,11 @@ int cd_Error;
|
|||
|
||||
int I_CDMusInit(void)
|
||||
{
|
||||
return 0;
|
||||
fprintf(stderr,
|
||||
"I_CDMusInit: CD music playback is no longer supported! "
|
||||
"Please use digital music packs instead:\n"
|
||||
"https://www.chocolate-doom.org/wiki/index.php/Digital_music_packs\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
// We cannot print status messages inline during startup, they must
|
||||
|
|
|
|||
Loading…
Reference in a new issue