diff options
author | bunnei <bunneidev@gmail.com> | 2018-04-24 20:13:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-24 20:13:54 +0200 |
commit | b7953d2ebfe1986a88d013e0b6c1ee8e2812eab2 (patch) | |
tree | da6fc3f16ea6862c5514eb2959f30147efd72422 /src/core/hle/service/filesystem/filesystem.cpp | |
parent | Merge pull request #391 from lioncash/video (diff) | |
parent | service: Move logging macros over to new fmt-compatible ones (diff) | |
download | yuzu-b7953d2ebfe1986a88d013e0b6c1ee8e2812eab2.tar yuzu-b7953d2ebfe1986a88d013e0b6c1ee8e2812eab2.tar.gz yuzu-b7953d2ebfe1986a88d013e0b6c1ee8e2812eab2.tar.bz2 yuzu-b7953d2ebfe1986a88d013e0b6c1ee8e2812eab2.tar.lz yuzu-b7953d2ebfe1986a88d013e0b6c1ee8e2812eab2.tar.xz yuzu-b7953d2ebfe1986a88d013e0b6c1ee8e2812eab2.tar.zst yuzu-b7953d2ebfe1986a88d013e0b6c1ee8e2812eab2.zip |
Diffstat (limited to 'src/core/hle/service/filesystem/filesystem.cpp')
-rw-r--r-- | src/core/hle/service/filesystem/filesystem.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/service/filesystem/filesystem.cpp b/src/core/hle/service/filesystem/filesystem.cpp index 9e504992f..c2951c560 100644 --- a/src/core/hle/service/filesystem/filesystem.cpp +++ b/src/core/hle/service/filesystem/filesystem.cpp @@ -25,14 +25,14 @@ ResultCode RegisterFileSystem(std::unique_ptr<FileSys::FileSystemFactory>&& fact ASSERT_MSG(inserted, "Tried to register more than one system with same id code"); auto& filesystem = result.first->second; - LOG_DEBUG(Service_FS, "Registered file system %s with id code 0x%08X", - filesystem->GetName().c_str(), static_cast<u32>(type)); + NGLOG_DEBUG(Service_FS, "Registered file system {} with id code {:#010X}", + filesystem->GetName(), static_cast<u32>(type)); return RESULT_SUCCESS; } ResultVal<std::unique_ptr<FileSys::FileSystemBackend>> OpenFileSystem(Type type, FileSys::Path& path) { - LOG_TRACE(Service_FS, "Opening FileSystem with type=%d", type); + NGLOG_TRACE(Service_FS, "Opening FileSystem with type={}", static_cast<u32>(type)); auto itr = filesystem_map.find(type); if (itr == filesystem_map.end()) { @@ -44,7 +44,7 @@ ResultVal<std::unique_ptr<FileSys::FileSystemBackend>> OpenFileSystem(Type type, } ResultCode FormatFileSystem(Type type) { - LOG_TRACE(Service_FS, "Formatting FileSystem with type=%d", type); + NGLOG_TRACE(Service_FS, "Formatting FileSystem with type={}", static_cast<u32>(type)); auto itr = filesystem_map.find(type); if (itr == filesystem_map.end()) { |