aboutsummaryrefslogtreecommitdiff
path: root/sound/softsynth
diff options
context:
space:
mode:
authorMax Horn2009-05-19 11:42:14 +0000
committerMax Horn2009-05-19 11:42:14 +0000
commit65b5d318140c7ff846455a37ec7ae63e635bcdcf (patch)
tree77f278ceec1e54e097056df0b2820e414eed8290 /sound/softsynth
parent4d59f620f9fdc1dfd7ccd6c7d30a0b5de480eb20 (diff)
downloadscummvm-rg350-65b5d318140c7ff846455a37ec7ae63e635bcdcf.tar.gz
scummvm-rg350-65b5d318140c7ff846455a37ec7ae63e635bcdcf.tar.bz2
scummvm-rg350-65b5d318140c7ff846455a37ec7ae63e635bcdcf.zip
COMMON: Removed Stream::ioFailed() and clearIOFailed(), as they are deprecated; however, retained ioFailed in SeekableReadStream and File for now (so for now this mainly affects WriteStream subclasses)
svn-id: r40725
Diffstat (limited to 'sound/softsynth')
-rw-r--r--sound/softsynth/mt32.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/softsynth/mt32.cpp b/sound/softsynth/mt32.cpp
index a0457aed62..d662be989e 100644
--- a/sound/softsynth/mt32.cpp
+++ b/sound/softsynth/mt32.cpp
@@ -109,7 +109,7 @@ public:
}
bool writeBit8u(MT32Emu::Bit8u out) {
_out.writeByte(out);
- return !_out.ioFailed();
+ return !_out.err();
}
bool isEOF() {
return _in.isOpen() && _in.eos();