mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 01:45:47 +00:00
FileSys/Kernel: Implement SetSize service call for File objects.
This commit is contained in:
parent
d34673990b
commit
23c2fbfc7a
6 changed files with 49 additions and 0 deletions
|
@ -44,6 +44,13 @@ public:
|
|||
*/
|
||||
size_t GetSize() const override;
|
||||
|
||||
/**
|
||||
* Set the size of the file in bytes
|
||||
* @param size New size of the file
|
||||
* @return true if successful
|
||||
*/
|
||||
bool SetSize(const u64 size) const override;
|
||||
|
||||
/**
|
||||
* Close the file
|
||||
* @return true if the file closed correctly
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue