diff options
author | Max Horn | 2010-11-18 20:24:27 +0000 |
---|---|---|
committer | Max Horn | 2010-11-18 20:24:27 +0000 |
commit | 9531b7766ca99e1c6aac78474a4c73188dbad00f (patch) | |
tree | 7f3071d39fe359aa104b370e5279082e2fa56b7b /backends/platform | |
parent | d6592aaba6198c21a8ae6eda9f8d6fc46d5b1557 (diff) | |
download | scummvm-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.cpp | 2 |
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; } |