diff options
-rw-r--r-- | backends/fs/n64/romfsstream.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/fs/n64/romfsstream.cpp b/backends/fs/n64/romfsstream.cpp index 2d30f852ca..c833a228f5 100644 --- a/backends/fs/n64/romfsstream.cpp +++ b/backends/fs/n64/romfsstream.cpp @@ -59,7 +59,7 @@ int32 RomfsStream::size() const { } 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) { |