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:
Simon Howard 2017-10-08 22:09:11 -04:00
parent 5c4a7a14d1
commit 6e8dc57e94

View file

@ -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