cdvdGigaherz: Fix the seek function in FileStream.

Prior to this, it would have ignored any kind of reference position.
This commit is contained in:
Lioncash 2014-07-15 17:28:09 -04:00
parent c2e96a081f
commit 54c21b30c9
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ void FileStream::seek(s64 offset)
void FileStream::seek(s64 offset, int ref_position)
{
int ret = _fseeki64(handle, offset, SEEK_SET);
int ret = _fseeki64(handle, offset, ref_position);
#ifdef __LINUX__
if (ret) throw "Seek offset out of bounds.";
#else