aboutsummaryrefslogtreecommitdiff
path: root/sound/softsynth/mt32.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sound/softsynth/mt32.cpp')
-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();