summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/apt_u.cpp4
-rw-r--r--src/core/hle/service/fs/archive.cpp2
-rw-r--r--src/core/loader/loader.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/service/apt_u.cpp b/src/core/hle/service/apt_u.cpp
index 629b670ed..4c3f621d0 100644
--- a/src/core/hle/service/apt_u.cpp
+++ b/src/core/hle/service/apt_u.cpp
@@ -373,7 +373,7 @@ void SetAppCpuTimeLimit(Service::Interface* self) {
373 u32 percent = cmd_buff[2]; 373 u32 percent = cmd_buff[2];
374 374
375 if (value != 1) { 375 if (value != 1) {
376 LOG_ERROR(Service_APT, "This value must be one!", value); 376 LOG_ERROR(Service_APT, "This value should be one, but is actually %u!", value);
377 } 377 }
378 378
379 cmd_buff[1] = RESULT_SUCCESS.raw; // No error 379 cmd_buff[1] = RESULT_SUCCESS.raw; // No error
@@ -395,7 +395,7 @@ void GetAppCpuTimeLimit(Service::Interface* self) {
395 u32 value = cmd_buff[1]; 395 u32 value = cmd_buff[1];
396 396
397 if (value != 1) { 397 if (value != 1) {
398 LOG_ERROR(Service_APT, "This value must be one!", value); 398 LOG_ERROR(Service_APT, "This value should be one, but is actually %u!", value);
399 } 399 }
400 400
401 // TODO(purpasmart96): This is incorrect, I'm pretty sure the percentage should 401 // TODO(purpasmart96): This is incorrect, I'm pretty sure the percentage should
diff --git a/src/core/hle/service/fs/archive.cpp b/src/core/hle/service/fs/archive.cpp
index 6682f6590..43eef034e 100644
--- a/src/core/hle/service/fs/archive.cpp
+++ b/src/core/hle/service/fs/archive.cpp
@@ -89,7 +89,7 @@ public:
89class File : public Kernel::Session { 89class File : public Kernel::Session {
90public: 90public:
91 File(std::unique_ptr<FileSys::FileBackend>&& backend, const FileSys::Path& path) 91 File(std::unique_ptr<FileSys::FileBackend>&& backend, const FileSys::Path& path)
92 : path(path), backend(std::move(backend)), priority(0) { 92 : path(path), priority(0), backend(std::move(backend)) {
93 } 93 }
94 94
95 std::string GetName() const override { return "Path: " + path.DebugStr(); } 95 std::string GetName() const override { return "Path: " + path.DebugStr(); }
diff --git a/src/core/loader/loader.cpp b/src/core/loader/loader.cpp
index 60460292d..52730a7b4 100644
--- a/src/core/loader/loader.cpp
+++ b/src/core/loader/loader.cpp
@@ -150,7 +150,7 @@ ResultStatus LoadFile(const std::string& filename) {
150 // IdentifyFile could know identify file type... 150 // IdentifyFile could know identify file type...
151 case FileType::Unknown: 151 case FileType::Unknown:
152 { 152 {
153 LOG_CRITICAL(Loader, "File %s is of unknown type."); 153 LOG_CRITICAL(Loader, "File %s is of unknown type.", filename.c_str());
154 return ResultStatus::ErrorInvalidFormat; 154 return ResultStatus::ErrorInvalidFormat;
155 } 155 }
156 } 156 }