Skip to content

Commit

Permalink
core: Reduce some library log spam. (#1023)
Browse files Browse the repository at this point in the history
  • Loading branch information
squidbus authored Sep 22, 2024
1 parent bfe2e1e commit 654f85a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/libraries/kernel/event_flag/event_flag.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ int PS4_SYSV_ABI sceKernelPollEventFlag(OrbisKernelEventFlag ef, u64 bitPattern,

auto result = ef->Poll(bitPattern, wait, clear, pResultPat);

if (result != ORBIS_OK) {
if (result != ORBIS_OK && result != ORBIS_KERNEL_ERROR_EBUSY) {
LOG_ERROR(Kernel_Event, "returned {}", result);
}

Expand Down
2 changes: 1 addition & 1 deletion src/core/libraries/system/systemservice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1717,7 +1717,7 @@ int PS4_SYSV_ABI sceSystemServiceGetAppType() {

s32 PS4_SYSV_ABI
sceSystemServiceGetDisplaySafeAreaInfo(OrbisSystemServiceDisplaySafeAreaInfo* info) {
LOG_INFO(Lib_SystemService, "called");
LOG_DEBUG(Lib_SystemService, "called");
if (info == nullptr) {
LOG_ERROR(Lib_SystemService, "OrbisSystemServiceDisplaySafeAreaInfo is null");
return ORBIS_SYSTEM_SERVICE_ERROR_PARAMETER;
Expand Down

0 comments on commit 654f85a

Please sign in to comment.