mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 12:48:57 +00:00
Fix WII_SEEK_END seeking.
This commit is contained in:
parent
d5fd68e4a4
commit
3bc082be52
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@ bool CWII_IPC_HLE_Device_FileIO::Seek(u32 _CommandAddress)
|
||||||
|
|
||||||
case WII_SEEK_END:
|
case WII_SEEK_END:
|
||||||
{
|
{
|
||||||
s32 wantedPos = fileSize+m_SeekPos;
|
s32 wantedPos = SeekPosition+fileSize;
|
||||||
if (wantedPos >=0 && wantedPos <= fileSize)
|
if (wantedPos >=0 && wantedPos <= fileSize)
|
||||||
{
|
{
|
||||||
m_SeekPos = wantedPos;
|
m_SeekPos = wantedPos;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue