summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service
diff options
context:
space:
mode:
authorvaguilar <victoraguilar90@gmail.com>2014-11-27 11:35:27 +0100
committervaguilar <victoraguilar90@gmail.com>2014-11-27 11:59:14 +0100
commit223e76d51dd4af9d3ff8b823ddb82a3ee9b2586a (patch)
treeeb02a8d87c8b4ee109e23efa4f9e1ab92cfdb13c /src/core/hle/service
parentMerge pull request #223 from linkmauve/remove-thread (diff)
downloadyuzu-223e76d51dd4af9d3ff8b823ddb82a3ee9b2586a.tar
yuzu-223e76d51dd4af9d3ff8b823ddb82a3ee9b2586a.tar.gz
yuzu-223e76d51dd4af9d3ff8b823ddb82a3ee9b2586a.tar.bz2
yuzu-223e76d51dd4af9d3ff8b823ddb82a3ee9b2586a.tar.lz
yuzu-223e76d51dd4af9d3ff8b823ddb82a3ee9b2586a.tar.xz
yuzu-223e76d51dd4af9d3ff8b823ddb82a3ee9b2586a.tar.zst
yuzu-223e76d51dd4af9d3ff8b823ddb82a3ee9b2586a.zip
Diffstat (limited to 'src/core/hle/service')
-rw-r--r--src/core/hle/service/fs_user.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/service/fs_user.cpp b/src/core/hle/service/fs_user.cpp
index 435be5b5d..34af78cb9 100644
--- a/src/core/hle/service/fs_user.cpp
+++ b/src/core/hle/service/fs_user.cpp
@@ -55,7 +55,7 @@ static void OpenFile(Service::Interface* self) {
u32 filename_ptr = cmd_buff[9];
FileSys::Path file_path(filename_type, filename_size, filename_ptr);
- DEBUG_LOG(KERNEL, "path=%s, mode=%d attrs=%d", file_path.DebugStr().c_str(), mode, attributes);
+ DEBUG_LOG(KERNEL, "path=%s, mode=%d attrs=%u", file_path.DebugStr().c_str(), mode.hex, attributes);
ResultVal<Handle> handle = Kernel::OpenFileFromArchive(archive_handle, file_path, mode);
cmd_buff[1] = handle.Code().raw;
@@ -102,8 +102,8 @@ static void OpenFileDirectly(Service::Interface* self) {
FileSys::Path archive_path(archivename_type, archivename_size, archivename_ptr);
FileSys::Path file_path(filename_type, filename_size, filename_ptr);
- DEBUG_LOG(KERNEL, "archive_path=%s file_path=%s, mode=%d attributes=%d",
- archive_path.DebugStr().c_str(), file_path.DebugStr().c_str(), mode, attributes);
+ DEBUG_LOG(KERNEL, "archive_path=%s file_path=%s, mode=%u attributes=%d",
+ archive_path.DebugStr().c_str(), file_path.DebugStr().c_str(), mode.hex, attributes);
if (archive_path.GetType() != FileSys::Empty) {
ERROR_LOG(KERNEL, "archive LowPath type other than empty is currently unsupported");