mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 18:05:46 +00:00
fsp_srv: Implement GetSize and SetSize.
This commit is contained in:
parent
36cdd5a39c
commit
db8fc2ea57
2 changed files with 24 additions and 4 deletions
|
@ -174,8 +174,9 @@ u64 Disk_Storage::GetSize() const {
|
|||
}
|
||||
|
||||
bool Disk_Storage::SetSize(const u64 size) const {
|
||||
LOG_WARNING(Service_FS, "(STUBBED) called");
|
||||
return false;
|
||||
file->Resize(size);
|
||||
file->Flush();
|
||||
return true;
|
||||
}
|
||||
|
||||
Disk_Directory::Disk_Directory(const std::string& path) : directory() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue