aboutsummaryrefslogtreecommitdiff
path: root/sound/mpu401.cpp
diff options
context:
space:
mode:
authorJamieson Christian2003-05-19 17:45:21 +0000
committerJamieson Christian2003-05-19 17:45:21 +0000
commite8771e7684048690e39d3e76f71bdea193f3d1f3 (patch)
treec4d5f7acf88bbab089731717a59be6e0325e7859 /sound/mpu401.cpp
parent5a89820f0deb8bdee8677bd82304acd355d05597 (diff)
downloadscummvm-rg350-e8771e7684048690e39d3e76f71bdea193f3d1f3.tar.gz
scummvm-rg350-e8771e7684048690e39d3e76f71bdea193f3d1f3.tar.bz2
scummvm-rg350-e8771e7684048690e39d3e76f71bdea193f3d1f3.zip
Fixed problem updating callback
svn-id: r7691
Diffstat (limited to 'sound/mpu401.cpp')
-rw-r--r--sound/mpu401.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/mpu401.cpp b/sound/mpu401.cpp
index 995895d82d..5d8d6cd269 100644
--- a/sound/mpu401.cpp
+++ b/sound/mpu401.cpp
@@ -127,7 +127,7 @@ void MidiDriver_MPU401::setTimerCallback (void *timer_param, void (*timer_proc)
#if !defined(__MORPHOS__) && !defined(__PALM_OS__)
int MidiDriver_MPU401::midi_driver_thread(void *param) {
- MidiDriver_MPU401 *mid = (MidiDriver_MPU401 *)param;
+ volatile MidiDriver_MPU401 *mid = (MidiDriver_MPU401 *)param;
int old_time, cur_time;
old_time = g_system->get_msecs();