diff --git a/sysmodules/pm/source/launch.c b/sysmodules/pm/source/launch.c index 56c1c57..df8c250 100644 --- a/sysmodules/pm/source/launch.c +++ b/sysmodules/pm/source/launch.c @@ -208,7 +208,7 @@ static Result launchTitleImpl(Handle *debug, ProcessData **outProcessData, const TRY(registerProgram(&programHandle, programInfo, programInfoUpdate)); res = LOADER_GetProgramInfo(exheaderInfo, programHandle); - res = R_SUCCEEDED(res) && exheaderInfo->aci.local_caps.core_info.core_version != SYSCOREVER ? (Result)0xC8A05800 : res; + res = R_SUCCEEDED(res) && SYSCOREVER == 2 && exheaderInfo->aci.local_caps.core_info.core_version != SYSCOREVER ? (Result)0xC8A05800 : res; if (R_FAILED(res)) { LOADER_UnregisterProgram(programHandle); diff --git a/sysmodules/pm/source/luma.c b/sysmodules/pm/source/luma.c index 45d1735..cd3f489 100644 --- a/sysmodules/pm/source/luma.c +++ b/sysmodules/pm/source/luma.c @@ -15,5 +15,5 @@ bool isTitleLaunchPrevented(u64 titleId) s64 numKips = 0; svcGetSystemInfo(&numKips, 26, 0); - return numKips >= 6 && (titleId & ~N3DS_TID_BIT) == 0x0004003000008A02ULL; // ErrDisp -} \ No newline at end of file + return numKips >= 6 && (titleId & ~(N3DS_TID_MASK | 1)) == 0x0004003000008A02ULL; // ErrDisp +}