From 93c7c6a995ce9338f30dc64515eedcf5cdf89bfb Mon Sep 17 00:00:00 2001 From: Steveice10 <1269164+Steveice10@users.noreply.github.com> Date: Wed, 30 Aug 2023 10:19:38 -0700 Subject: [PATCH] service: Downgrade some spammy logs to trace level. (#6936) --- src/core/hle/service/dsp/dsp_dsp.cpp | 2 +- src/core/hle/service/gsp/gsp_gpu.cpp | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/core/hle/service/dsp/dsp_dsp.cpp b/src/core/hle/service/dsp/dsp_dsp.cpp index a69f3533a..14c799c70 100644 --- a/src/core/hle/service/dsp/dsp_dsp.cpp +++ b/src/core/hle/service/dsp/dsp_dsp.cpp @@ -309,7 +309,7 @@ void DSP_DSP::ForceHeadphoneOut(Kernel::HLERequestContext& ctx) { // that's waiting for an interrupt event. Immediately after this interrupt event, userland // normally updates the state in the next region and increments the relevant frame counter by two. void DSP_DSP::SignalInterrupt(InterruptType type, DspPipe pipe) { - LOG_DEBUG(Service_DSP, "called, type={}, pipe={}", type, pipe); + LOG_TRACE(Service_DSP, "called, type={}, pipe={}", type, pipe); const auto& event = GetInterruptEvent(type, pipe); if (event) event->Signal(); diff --git a/src/core/hle/service/gsp/gsp_gpu.cpp b/src/core/hle/service/gsp/gsp_gpu.cpp index abb838fde..c6f49e90f 100644 --- a/src/core/hle/service/gsp/gsp_gpu.cpp +++ b/src/core/hle/service/gsp/gsp_gpu.cpp @@ -336,31 +336,31 @@ void GSP_GPU::SetBufferSwap(Kernel::HLERequestContext& ctx) { void GSP_GPU::FlushDataCache(Kernel::HLERequestContext& ctx) { IPC::RequestParser rp(ctx); - u32 address = rp.Pop(); - u32 size = rp.Pop(); - auto process = rp.PopObject(); + [[maybe_unused]] u32 address = rp.Pop(); + [[maybe_unused]] u32 size = rp.Pop(); + [[maybe_unused]] auto process = rp.PopObject(); // TODO(purpasmart96): Verify return header on HW IPC::RequestBuilder rb = rp.MakeBuilder(1, 0); rb.Push(RESULT_SUCCESS); - LOG_DEBUG(Service_GSP, "(STUBBED) called address=0x{:08X}, size=0x{:08X}, process={}", address, + LOG_TRACE(Service_GSP, "(STUBBED) called address=0x{:08X}, size=0x{:08X}, process={}", address, size, process->process_id); } void GSP_GPU::InvalidateDataCache(Kernel::HLERequestContext& ctx) { IPC::RequestParser rp(ctx); - u32 address = rp.Pop(); - u32 size = rp.Pop(); - auto process = rp.PopObject(); + [[maybe_unused]] u32 address = rp.Pop(); + [[maybe_unused]] u32 size = rp.Pop(); + [[maybe_unused]] auto process = rp.PopObject(); // TODO(purpasmart96): Verify return header on HW IPC::RequestBuilder rb = rp.MakeBuilder(1, 0); rb.Push(RESULT_SUCCESS); - LOG_DEBUG(Service_GSP, "(STUBBED) called address=0x{:08X}, size=0x{:08X}, process={}", address, + LOG_TRACE(Service_GSP, "(STUBBED) called address=0x{:08X}, size=0x{:08X}, process={}", address, size, process->process_id); }