summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/romfs_filesystem.cpp
diff options
context:
space:
mode:
authormailwl <mailwl@gmail.com>2018-04-24 09:56:05 +0200
committermailwl <mailwl@gmail.com>2018-04-24 09:56:05 +0200
commita0179e5ca5bc54491f03ff60d2f971197eb03e88 (patch)
tree99ba0561c6fe429169a40e76a70db7b3f99a71ee /src/core/file_sys/romfs_filesystem.cpp
parentMerge pull request #379 from Subv/multi_buffers (diff)
downloadyuzu-a0179e5ca5bc54491f03ff60d2f971197eb03e88.tar
yuzu-a0179e5ca5bc54491f03ff60d2f971197eb03e88.tar.gz
yuzu-a0179e5ca5bc54491f03ff60d2f971197eb03e88.tar.bz2
yuzu-a0179e5ca5bc54491f03ff60d2f971197eb03e88.tar.lz
yuzu-a0179e5ca5bc54491f03ff60d2f971197eb03e88.tar.xz
yuzu-a0179e5ca5bc54491f03ff60d2f971197eb03e88.tar.zst
yuzu-a0179e5ca5bc54491f03ff60d2f971197eb03e88.zip
Diffstat (limited to '')
-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