From 8b6a9b0dd83479b14fb0f766fc45c1f4f5466b5e Mon Sep 17 00:00:00 2001 From: Steveice10 <1269164+Steveice10@users.noreply.github.com> Date: Sat, 6 Jan 2024 08:46:19 -0800 Subject: [PATCH] dsp: Fix mask sizes in LoadComponent. (#7319) --- src/core/hle/service/dsp/dsp_dsp.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/core/hle/service/dsp/dsp_dsp.cpp b/src/core/hle/service/dsp/dsp_dsp.cpp index 1b991babe..3de9354ef 100644 --- a/src/core/hle/service/dsp/dsp_dsp.cpp +++ b/src/core/hle/service/dsp/dsp_dsp.cpp @@ -173,9 +173,9 @@ void DSP_DSP::ReadPipeIfPossible(Kernel::HLERequestContext& ctx) { void DSP_DSP::LoadComponent(Kernel::HLERequestContext& ctx) { IPC::RequestParser rp(ctx); - const u32 size = rp.Pop(); - const u32 prog_mask = rp.Pop(); - const u32 data_mask = rp.Pop(); + const auto size = rp.Pop(); + const auto prog_mask = rp.Pop(); + const auto data_mask = rp.Pop(); auto& buffer = rp.PopMappedBuffer(); IPC::RequestBuilder rb = rp.MakeBuilder(2, 2); @@ -188,7 +188,7 @@ void DSP_DSP::LoadComponent(Kernel::HLERequestContext& ctx) { system.DSP().LoadComponent(component_data); - LOG_INFO(Service_DSP, "called size=0x{:X}, prog_mask=0x{:08X}, data_mask=0x{:08X}", size, + LOG_INFO(Service_DSP, "called size=0x{:X}, prog_mask=0x{:04X}, data_mask=0x{:04X}", size, prog_mask, data_mask); }