aboutsummaryrefslogtreecommitdiff
path: root/backends/platform
diff options
context:
space:
mode:
authorMax Horn2010-11-18 20:24:27 +0000
committerMax Horn2010-11-18 20:24:27 +0000
commit9531b7766ca99e1c6aac78474a4c73188dbad00f (patch)
tree7f3071d39fe359aa104b370e5279082e2fa56b7b /backends/platform
parentd6592aaba6198c21a8ae6eda9f8d6fc46d5b1557 (diff)
downloadscummvm-rg350-9531b7766ca99e1c6aac78474a4c73188dbad00f.tar.gz
scummvm-rg350-9531b7766ca99e1c6aac78474a4c73188dbad00f.tar.bz2
scummvm-rg350-9531b7766ca99e1c6aac78474a4c73188dbad00f.zip
PS2: Fix use of Ps2File::_sema w/o __PS2_FILE_SEMA__ guard
svn-id: r54343
Diffstat (limited to 'backends/platform')
-rw-r--r--backends/platform/ps2/fileio.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/platform/ps2/fileio.cpp b/backends/platform/ps2/fileio.cpp
index 826a2578e4..1919d0f743 100644
--- a/backends/platform/ps2/fileio.cpp
+++ b/backends/platform/ps2/fileio.cpp
@@ -413,7 +413,9 @@ uint32 Ps2File::read(void *dest, uint32 len) {
}
}
cacheReadAhead();
+#ifdef __PS2_FILE_SEMA__
SignalSema(_sema);
+#endif
return destBuf - (uint8*)dest;
}