mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
Implement FileStream SetLength
This commit is contained in:
parent
4bd3cc641d
commit
06fe5a98c6
8 changed files with 83 additions and 10 deletions
|
@ -219,7 +219,8 @@ void SysFileStream::SetSizeFast(int size)
|
|||
|
||||
int curPos = GetPos();
|
||||
SetPos(size);
|
||||
BfpFile_Truncate(mFile);
|
||||
BfpFileResult result = BfpFileResult_Ok;
|
||||
BfpFile_Truncate(mFile, &result);
|
||||
SetPos(curPos);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue