diff options
| -rw-r--r-- | sound/softsynth/mt32.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/sound/softsynth/mt32.cpp b/sound/softsynth/mt32.cpp index a52401bef1..3e3f9d91ff 100644 --- a/sound/softsynth/mt32.cpp +++ b/sound/softsynth/mt32.cpp @@ -98,7 +98,7 @@ public:  	}  	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 @@ public:  		return !_out.ioFailed();  	}  	bool isEOF() { -		return _in.isOpen() ? _in.eof() : _out.eof(); +		return _in.isOpen() && _in.eos();  	}  }; | 
