summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2015-07-21 20:49:08 +0200
committerSubv <subv2112@gmail.com>2015-07-21 20:49:08 +0200
commitf5bff67b0b8cda13f3afcedc55f7d052a26c57fa (patch)
treedbcffba74c969878cecfb17c09b061090e7900b9
parentMerge pull request #939 from Subv/queryprocmem (diff)
downloadyuzu-f5bff67b0b8cda13f3afcedc55f7d052a26c57fa.tar
yuzu-f5bff67b0b8cda13f3afcedc55f7d052a26c57fa.tar.gz
yuzu-f5bff67b0b8cda13f3afcedc55f7d052a26c57fa.tar.bz2
yuzu-f5bff67b0b8cda13f3afcedc55f7d052a26c57fa.tar.lz
yuzu-f5bff67b0b8cda13f3afcedc55f7d052a26c57fa.tar.xz
yuzu-f5bff67b0b8cda13f3afcedc55f7d052a26c57fa.tar.zst
yuzu-f5bff67b0b8cda13f3afcedc55f7d052a26c57fa.zip
-rw-r--r--src/core/hle/service/fs/fs_user.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/core/hle/service/fs/fs_user.cpp b/src/core/hle/service/fs/fs_user.cpp
index 0ad44e55e..ae52083f9 100644
--- a/src/core/hle/service/fs/fs_user.cpp
+++ b/src/core/hle/service/fs/fs_user.cpp
@@ -115,7 +115,8 @@ static void OpenFileDirectly(Service::Interface* self) {
ResultVal<ArchiveHandle> archive_handle = OpenArchive(archive_id, archive_path);
if (archive_handle.Failed()) {
- LOG_ERROR(Service_FS, "failed to get a handle for archive");
+ LOG_ERROR(Service_FS, "failed to get a handle for archive archive_id=0x%08X archive_path=%s",
+ archive_id, archive_path.DebugStr().c_str());
cmd_buff[1] = archive_handle.Code().raw;
cmd_buff[3] = 0;
return;
@@ -128,7 +129,8 @@ static void OpenFileDirectly(Service::Interface* self) {
cmd_buff[3] = Kernel::g_handle_table.Create(*file_res).MoveFrom();
} else {
cmd_buff[3] = 0;
- LOG_ERROR(Service_FS, "failed to get a handle for file %s", file_path.DebugStr().c_str());
+ LOG_ERROR(Service_FS, "failed to get a handle for file %s mode=%u attributes=%d",
+ file_path.DebugStr().c_str(), mode.hex, attributes);
}
}
@@ -347,7 +349,8 @@ static void OpenDirectory(Service::Interface* self) {
if (dir_res.Succeeded()) {
cmd_buff[3] = Kernel::g_handle_table.Create(*dir_res).MoveFrom();
} else {
- LOG_ERROR(Service_FS, "failed to get a handle for directory");
+ LOG_ERROR(Service_FS, "failed to get a handle for directory type=%d size=%d data=%s",
+ dirname_type, dirname_size, dir_path.DebugStr().c_str());
}
}
@@ -382,7 +385,8 @@ static void OpenArchive(Service::Interface* self) {
cmd_buff[3] = (*handle >> 32) & 0xFFFFFFFF;
} else {
cmd_buff[2] = cmd_buff[3] = 0;
- LOG_ERROR(Service_FS, "failed to get a handle for archive");
+ LOG_ERROR(Service_FS, "failed to get a handle for archive archive_id=0x%08X archive_path=%s",
+ archive_id, archive_path.DebugStr().c_str());
}
}