diff options
author | Max Horn | 2008-09-06 20:36:47 +0000 |
---|---|---|
committer | Max Horn | 2008-09-06 20:36:47 +0000 |
commit | 0378201ec7c4ba240030db44d8aaebf023aa6e88 (patch) | |
tree | 2188764e0a1bfe0f31fdd11c49c7a408127e928b /sound | |
parent | 088a1c0806d808ed12b88efd51a35768b700e8d8 (diff) | |
download | scummvm-rg350-0378201ec7c4ba240030db44d8aaebf023aa6e88.tar.gz scummvm-rg350-0378201ec7c4ba240030db44d8aaebf023aa6e88.tar.bz2 scummvm-rg350-0378201ec7c4ba240030db44d8aaebf023aa6e88.zip |
MT32 emu: eof -> eos
svn-id: r34390
Diffstat (limited to 'sound')
-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(); } }; |