mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-27 12:04:16 +01:00
Lower log level of some sdmc logs (#6266)
This commit is contained in:
parent
78cb48b23c
commit
9b49d94644
@ -132,7 +132,7 @@ ResultCode SDMCArchive::DeleteFile(const Path& path) const {
|
|||||||
case PathParser::PathNotFound:
|
case PathParser::PathNotFound:
|
||||||
case PathParser::FileInPath:
|
case PathParser::FileInPath:
|
||||||
case PathParser::NotFound:
|
case PathParser::NotFound:
|
||||||
LOG_ERROR(Service_FS, "{} not found", full_path);
|
LOG_DEBUG(Service_FS, "{} not found", full_path);
|
||||||
return ERROR_NOT_FOUND;
|
return ERROR_NOT_FOUND;
|
||||||
case PathParser::DirectoryFound:
|
case PathParser::DirectoryFound:
|
||||||
LOG_ERROR(Service_FS, "{} is not a file", full_path);
|
LOG_ERROR(Service_FS, "{} is not a file", full_path);
|
||||||
@ -291,7 +291,7 @@ ResultCode SDMCArchive::CreateDirectory(const Path& path) const {
|
|||||||
return ERROR_NOT_FOUND;
|
return ERROR_NOT_FOUND;
|
||||||
case PathParser::DirectoryFound:
|
case PathParser::DirectoryFound:
|
||||||
case PathParser::FileFound:
|
case PathParser::FileFound:
|
||||||
LOG_ERROR(Service_FS, "{} already exists", full_path);
|
LOG_DEBUG(Service_FS, "{} already exists", full_path);
|
||||||
return ERROR_ALREADY_EXISTS;
|
return ERROR_ALREADY_EXISTS;
|
||||||
case PathParser::NotFound:
|
case PathParser::NotFound:
|
||||||
break; // Expected 'success' case
|
break; // Expected 'success' case
|
||||||
|
@ -74,7 +74,7 @@ void FS_USER::OpenFile(Kernel::HLERequestContext& ctx) {
|
|||||||
rb.PushMoveObjects(file->Connect());
|
rb.PushMoveObjects(file->Connect());
|
||||||
} else {
|
} else {
|
||||||
rb.PushMoveObjects<Kernel::Object>(nullptr);
|
rb.PushMoveObjects<Kernel::Object>(nullptr);
|
||||||
LOG_ERROR(Service_FS, "failed to get a handle for file {}", file_path.DebugStr());
|
LOG_DEBUG(Service_FS, "failed to get a handle for file {}", file_path.DebugStr());
|
||||||
}
|
}
|
||||||
|
|
||||||
ctx.SleepClientThread("fs_user::open", open_timeout_ns, nullptr);
|
ctx.SleepClientThread("fs_user::open", open_timeout_ns, nullptr);
|
||||||
|
Loading…
Reference in New Issue
Block a user