fsp_srv: Implement GetSize and SetSize.

This commit is contained in:
bunnei
2018-03-31 16:02:21 -04:00
parent b27ab46bde
commit 88582b84a5
2 changed files with 24 additions and 4 deletions

View File

@ -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() {