[Scummvm-cvs-logs] SF.net SVN: scummvm:[54154] scummvm/branches/branch-1-2-0/backends/fs/n64/ romfsstream.cpp
hkz at users.sourceforge.net
hkz at users.sourceforge.net
Tue Nov 9 13:17:52 CET 2010
Revision: 54154
http://scummvm.svn.sourceforge.net/scummvm/?rev=54154&view=rev
Author: hkz
Date: 2010-11-09 12:17:52 +0000 (Tue, 09 Nov 2010)
Log Message:
-----------
N64: backport of r54151
Backport of revision 54151 fixinf romfs,
thanks strangerke
Revision Links:
--------------
http://scummvm.svn.sourceforge.net/scummvm/?rev=54151&view=rev
Modified Paths:
--------------
scummvm/branches/branch-1-2-0/backends/fs/n64/romfsstream.cpp
Modified: scummvm/branches/branch-1-2-0/backends/fs/n64/romfsstream.cpp
===================================================================
--- scummvm/branches/branch-1-2-0/backends/fs/n64/romfsstream.cpp 2010-11-09 11:57:54 UTC (rev 54153)
+++ scummvm/branches/branch-1-2-0/backends/fs/n64/romfsstream.cpp 2010-11-09 12:17:52 UTC (rev 54154)
@@ -59,7 +59,7 @@
}
bool RomfsStream::seek(int32 offs, int whence) {
- return romfs_seek((ROMFILE *)_handle, offs, whence) == 0;
+ return romfs_seek((ROMFILE *)_handle, offs, whence) >= 0;
}
uint32 RomfsStream::read(void *ptr, uint32 len) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list