mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-24 00:55:45 +00:00
Service/FS: implement IFileSystem::RenameFile
This commit is contained in:
parent
07dc0bbf3e
commit
a0179e5ca5
6 changed files with 36 additions and 8 deletions
|
@ -27,7 +27,8 @@ ResultCode RomFS_FileSystem::DeleteFile(const std::string& path) const {
|
|||
return ResultCode(-1);
|
||||
}
|
||||
|
||||
ResultCode RomFS_FileSystem::RenameFile(const Path& src_path, const Path& dest_path) const {
|
||||
ResultCode RomFS_FileSystem::RenameFile(const std::string& src_path,
|
||||
const std::string& dest_path) const {
|
||||
LOG_CRITICAL(Service_FS, "Attempted to rename a file within an ROMFS archive (%s).",
|
||||
GetName().c_str());
|
||||
// TODO(wwylele): Use correct error code
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue