MT32 emu: eof -> eos

svn-id: r34390
This commit is contained in:
Max Horn 2008-09-06 20:36:47 +00:00
parent 088a1c0806
commit 0378201ec7

View File

@ -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();
}
};