From 141e2c51cb3aee4d891e82a67d25efb8772b0369 Mon Sep 17 00:00:00 2001 From: lizzie Date: Sun, 27 Sep 2026 04:32:34 +0000 Subject: [PATCH] 2026-09-27 04:32:34 Signed-off-by: lizzie --- src/core/hle/service/service.cpp | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/core/hle/service/service.cpp b/src/core/hle/service/service.cpp index 40f65d2477..aab7a1c976 100644 --- a/src/core/hle/service/service.cpp +++ b/src/core/hle/service/service.cpp @@ -72,13 +72,12 @@ void ServiceFrameworkBase::ReportUnimplementedFunction(HLERequestContext& ctx, c } [[nodiscard]] static bool VersionGateCheck(Core::System& system, u32 vg) { - auto const c_maj = FirmwareManager::GetFirmwareVersion(system).first.major; - auto const c_min = FirmwareManager::GetFirmwareVersion(system).first.minor; - auto const c_pat = FirmwareManager::GetFirmwareVersion(system).first.micro; - auto const cg = (c_pat << 0) | (c_min << 4) | (c_maj << 8); - - auto const sg = vg & 0xfff; - auto const ug = (vg >> 12) & 0xfff; + u32 const c_maj = FirmwareManager::GetFirmwareVersion(system).first.major; + u32 const c_min = FirmwareManager::GetFirmwareVersion(system).first.minor; + u32 const c_pat = FirmwareManager::GetFirmwareVersion(system).first.micro; + u32 const cg = (c_pat << 0) | (c_min << 4) | (c_maj << 8); + u32 const sg = vg & 0xfff; + u32 const ug = (vg >> 12) & 0xfff; // feature available after current if (sg && cg < sg) return false;