[Scummvm-cvs-logs] CVS: scummvm/backends/midi adlib.cpp,1.9,1.10

Jamieson Christian jamieson630 at users.sourceforge.net
Tue Dec 17 23:54:04 CET 2002


Update of /cvsroot/scummvm/scummvm/backends/midi
In directory sc8-pr-cvs1:/tmp/cvs-serv1621/scummvm/backends/midi

Modified Files:
	adlib.cpp 
Log Message:
Fixed Adlib compilation problem

Index: adlib.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/midi/adlib.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- adlib.cpp	18 Dec 2002 07:48:02 -0000	1.9
+++ adlib.cpp	18 Dec 2002 07:53:45 -0000	1.10
@@ -77,6 +77,7 @@
 	void allocate() { _allocated = true; }
 
 public:
+	MidiDriver *device();
 	byte getNumber() { return _channel; }
 	void release() { _allocated = false; }
 
@@ -577,6 +578,11 @@
 	_owner = owner;
 	_channel = channel;
 
+}
+
+MidiDriver *AdlibPart::device()
+{
+	return _owner;
 }
 
 void AdlibPart::noteOff (byte note)





More information about the Scummvm-git-logs mailing list