[Scummvm-cvs-logs] SF.net SVN: scummvm:[34390] scummvm/trunk/sound/softsynth/mt32.cpp

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Sat Sep 6 22:36:47 CEST 2008


Revision: 34390
          http://scummvm.svn.sourceforge.net/scummvm/?rev=34390&view=rev
Author:   fingolfin
Date:     2008-09-06 20:36:47 +0000 (Sat, 06 Sep 2008)

Log Message:
-----------
MT32 emu: eof -> eos

Modified Paths:
--------------
    scummvm/trunk/sound/softsynth/mt32.cpp

Modified: scummvm/trunk/sound/softsynth/mt32.cpp
===================================================================
--- scummvm/trunk/sound/softsynth/mt32.cpp	2008-09-06 20:34:21 UTC (rev 34389)
+++ scummvm/trunk/sound/softsynth/mt32.cpp	2008-09-06 20:36:47 UTC (rev 34390)
@@ -98,7 +98,7 @@
 	}
 	bool readBit8u(MT32Emu::Bit8u *in) {
 		byte b = _in.readByte();
-		if (_in.eof())
+		if (_in.eos())
 			return false;
 		*in = b;
 		return true;
@@ -111,7 +111,7 @@
 		return !_out.ioFailed();
 	}
 	bool isEOF() {
-		return _in.isOpen() ? _in.eof() : _out.eof();
+		return _in.isOpen() && _in.eos();
 	}
 };
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list