mirror of
https://github.com/azahar-emu/azahar.git
synced 2025-03-04 01:35:21 +01:00
plgldr: Fix loading of plugins due to typo
This commit is contained in:
parent
fd2fa5a1bb
commit
50f8e3f3ed
@ -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<u32>(process.codeset->program_id >> 32) & TITLE_ID_APP_MASK) !=
|
||||
TITLE_ID_APP_VALUE) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user