From e70fd59b3505619cccb6f3280a4cf0fb57aefa97 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 23 Mar 2011 16:14:39 +0100 Subject: ENGINES: Further simplify pseudo MidiDrivers; fix some regressions The regression affected AGOS and maybe some others; specifically, the real MidiDriver would have been deleted twice -- I previously missed that the Engine instances takes care of freeing the real MidiDriver, not the MidiPlayer wrapping it. This commit should clarify the ownership of the real MidiDriver for most pseudo MidiDrivers. --- engines/queen/music.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/queen') diff --git a/engines/queen/music.h b/engines/queen/music.h index 898abb42d9..09d29fb351 100644 --- a/engines/queen/music.h +++ b/engines/queen/music.h @@ -56,9 +56,9 @@ public: void queueClear(); void toggleVChange(); - //MidiDriver interface implementation - void send(uint32 b); - void metaEvent(byte type, byte *data, uint16 length); + // MidiDriver_BASE interface implementation + virtual void send(uint32 b); + virtual void metaEvent(byte type, byte *data, uint16 length); protected: -- cgit v1.2.3