ref: 6e8dc57e94f9d00a82fe8272e210d238b7a4f17f
parent: 5c4a7a14d1789cba208834bb3663821c110d2d02
author: Simon Howard <[email protected]>
date: Sun Oct 8 18:09:11 EDT 2017
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.
--- a/src/i_cdmus.c
+++ b/src/i_cdmus.c
@@ -28,7 +28,11 @@
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