From 50f8e3f3ed1dc634253f89d6c9f52270767affeb Mon Sep 17 00:00:00 2001 From: PabloMK7 Date: Wed, 13 Nov 2024 11:14:00 +0100 Subject: [PATCH] plgldr: Fix loading of plugins due to typo --- src/core/hle/service/plgldr/plgldr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/hle/service/plgldr/plgldr.cpp b/src/core/hle/service/plgldr/plgldr.cpp index 81a8ee562..85ac3ecab 100644 --- a/src/core/hle/service/plgldr/plgldr.cpp +++ b/src/core/hle/service/plgldr/plgldr.cpp @@ -92,7 +92,7 @@ SERIALIZE_IMPL(PLG_LDR) void PLG_LDR::OnProcessRun(Kernel::Process& process, Kernel::KernelSystem& kernel) { constexpr u32 TITLE_ID_APP_MASK = 0xFFFFFFED; - constexpr u32 TITLE_ID_APP_VALUE = 0x04000000; + constexpr u32 TITLE_ID_APP_VALUE = 0x00040000; if (!plgldr_context.is_enabled || plgldr_context.plugin_loaded || (static_cast(process.codeset->program_id >> 32) & TITLE_ID_APP_MASK) != TITLE_ID_APP_VALUE) {