From aa40eaf4cc9d1094fa5d9f83e8090a4de6a0d07a Mon Sep 17 00:00:00 2001 From: wheremyfoodat <44909372+wheremyfoodat@users.noreply.github.com> Date: Sun, 12 Nov 2023 21:16:38 +0200 Subject: [PATCH] [APT] Remove redundant cast --- src/core/services/apt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/services/apt.cpp b/src/core/services/apt.cpp index f1c43b265..0fc2bb8ad 100644 --- a/src/core/services/apt.cpp +++ b/src/core/services/apt.cpp @@ -269,7 +269,7 @@ void APTService::receiveParameter(u32 messagePointer) { // Sender App ID mem.write32(messagePointer + 8, parameter.senderID); // Command - mem.write32(messagePointer + 12, static_cast(parameter.signal)); + mem.write32(messagePointer + 12, parameter.signal); // Size of parameter data mem.write32(messagePointer + 16, parameter.data.size()); mem.write32(messagePointer + 20, 0x10);