summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys
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/file_sys
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/file_sys')
-rw-r--r--src/core/file_sys/archive.h2
-rw-r--r--src/core/file_sys/archive_sdmc.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/core/file_sys/archive.h b/src/core/file_sys/archive.h
index 2e79bb883..c2426a153 100644
--- a/src/core/file_sys/archive.h
+++ b/src/core/file_sys/archive.h
@@ -67,6 +67,8 @@ public:
u16str = std::u16string(data, size/2 - 1); // Data is always null-terminated.
break;
}
+ default:
+ break;
}
}
diff --git a/src/core/file_sys/archive_sdmc.cpp b/src/core/file_sys/archive_sdmc.cpp
index c2ffcd40d..789212b17 100644
--- a/src/core/file_sys/archive_sdmc.cpp
+++ b/src/core/file_sys/archive_sdmc.cpp
@@ -50,7 +50,7 @@ bool Archive_SDMC::Initialize() {
* @return Opened file, or nullptr
*/
std::unique_ptr<File> Archive_SDMC::OpenFile(const Path& path, const Mode mode) const {
- DEBUG_LOG(FILESYS, "called path=%s mode=%d", path.DebugStr().c_str(), mode);
+ DEBUG_LOG(FILESYS, "called path=%s mode=%u", path.DebugStr().c_str(), mode.hex);
File_SDMC* file = new File_SDMC(this, path, mode);
if (!file->Open())
return nullptr;