diff options
author | Ruediger Hanke | 2003-01-10 15:32:20 +0000 |
---|---|---|
committer | Ruediger Hanke | 2003-01-10 15:32:20 +0000 |
commit | 19cb69424f1d98c5f131f76acb9d98af14fc6b18 (patch) | |
tree | 9dac1c7fc3fa820b4988da0ba3e7683285ed45d5 /backends | |
parent | f61650a07098d987d805df13a4953e5f25c1233f (diff) | |
download | scummvm-rg350-19cb69424f1d98c5f131f76acb9d98af14fc6b18.tar.gz scummvm-rg350-19cb69424f1d98c5f131f76acb9d98af14fc6b18.tar.bz2 scummvm-rg350-19cb69424f1d98c5f131f76acb9d98af14fc6b18.zip |
Oops
svn-id: r6383
Diffstat (limited to 'backends')
-rw-r--r-- | backends/morphos/morphos_timer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/morphos/morphos_timer.cpp b/backends/morphos/morphos_timer.cpp index f198c47e55..cd03630855 100644 --- a/backends/morphos/morphos_timer.cpp +++ b/backends/morphos/morphos_timer.cpp @@ -184,6 +184,7 @@ void Timer::TimerService(Timer *this_ptr, Engine *engine) WaitIO((IORequest *) timer_slots[t].ts_IORequest); signal_mask &= ~timer_slots[t].ts_SignalBit; timer_bits &= ~timer_slots[t].ts_SignalBit; + CloseDevice((IORequest *) timer_slots[t].ts_IORequest); DeleteIORequest((IORequest *) timer_slots[t].ts_IORequest); DeleteMsgPort(timer_slots[t].ts_Port); if (t < timers-1) @@ -234,6 +235,7 @@ void Timer::TimerService(Timer *this_ptr, Engine *engine) { AbortIO((IORequest *) timer_slots[t].ts_IORequest); WaitIO((IORequest *) timer_slots[t].ts_IORequest); + CloseDevice((IORequest *) timer_slots[t].ts_IORequest); DeleteIORequest((IORequest *) timer_slots[t].ts_IORequest); DeleteMsgPort(timer_slots[t].ts_Port); } |