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
commit8fffc0962c2a38bd4317f13b13e32ffe4772a6d8 (patch)
tree99ba0561c6fe429169a40e76a70db7b3f99a71ee /src/core/file_sys/romfs_filesystem.cpp
parentefe7989c16fbf735a0db2c363eba1eb0a92d5fe9 (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 3d77e2d5fb..b9982e6fae 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