mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 12:25:59 +03:00
fix(util): fix SFile typos
This commit is contained in:
parent
f135e8746b
commit
1be8d5539c
@ -163,7 +163,7 @@ int32_t SFile::Read(SFile* file, void* buffer, size_t bytestoread, size_t* bytes
|
|||||||
case SFILE_PLAIN:
|
case SFILE_PLAIN:
|
||||||
{
|
{
|
||||||
auto stream = reinterpret_cast<Blizzard::File::StreamRecord*>(file->m_handle);
|
auto stream = reinterpret_cast<Blizzard::File::StreamRecord*>(file->m_handle);
|
||||||
Blizzard::File::Read(m_stream, buffer, bytestoread, bytesread);
|
Blizzard::File::Read(stream, buffer, bytestoread, bytesread);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
case SFILE_PAQ:
|
case SFILE_PAQ:
|
||||||
@ -182,7 +182,7 @@ int32_t SFile::Read(SFile* file, void* buffer, size_t bytestoread, size_t* bytes
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
STORM_ASSERT(0)
|
STORM_ASSERT(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user