aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/alephone/files/patch-Source_Files__Sound__sound_sdl.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/games/alephone/files/patch-Source_Files__Sound__sound_sdl.h b/games/alephone/files/patch-Source_Files__Sound__sound_sdl.h
new file mode 100644
index 000000000000..460b69380aa9
--- /dev/null
+++ b/games/alephone/files/patch-Source_Files__Sound__sound_sdl.h
@@ -0,0 +1,10 @@
+--- Source_Files/Sound/sound_sdl.h.orig Sat Aug 12 09:43:24 2006
++++ Source_Files/Sound/sound_sdl.h Sat Aug 12 09:44:25 2006
+@@ -346,6 +346,7 @@
+ #ifdef MUSIC_SDL
+ bool load_music_sdl(FileSpecifier &song_file)
+ {
++ if (!_sm_initialized || !_sm_active) return false;
+ sdl_channel *c = sdl_channels + MUSIC_CHANNEL; // Music channel
+ uint32 music_sample_rate; // Music sample rate in Hz
+