aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/romfs_filesystem.cpp
diff options
context:
space:
mode:
authormailwl <mailwl@gmail.com>2018-04-24 10:56:05 +0300
committermailwl <mailwl@gmail.com>2018-04-24 10:56:05 +0300
commita0179e5ca5bc54491f03ff60d2f971197eb03e88 (patch)
tree99ba0561c6fe429169a40e76a70db7b3f99a71ee /src/core/file_sys/romfs_filesystem.cpp
parent07dc0bbf3e10c030a32f6853de31642162ce988d (diff)
Service/FS: implement IFileSystem::RenameFile
Diffstat (limited to 'src/core/file_sys/romfs_filesystem.cpp')
-rw-r--r--src/core/file_sys/romfs_filesystem.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/file_sys/romfs_filesystem.cpp b/src/core/file_sys/romfs_filesystem.cpp
index 3d77e2d5f..b9982e6fa 100644
--- a/src/core/file_sys/romfs_filesystem.cpp
+++ b/src/core/file_sys/romfs_filesystem.cpp
@@ -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