1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-10 06:01:52 +00:00

Loader: always redirect sysmodules.

This commit is contained in:
Michael Scire 2018-11-15 14:48:07 -08:00
parent 7e3b5c37d0
commit ac391d9c5e

View file

@ -307,7 +307,7 @@ bool ContentManagement::ShouldReplaceWithHBL(u64 tid) {
}
bool ContentManagement::ShouldOverrideContents(u64 tid) {
if (HasCreatedTitle(0x0100000000001000)) {
if (tid >= 0x0100000000001000 && HasCreatedTitle(0x0100000000001000)) {
u64 kDown = 0;
bool keys_triggered = (R_SUCCEEDED(HidManagement::GetKeysDown(&kDown)) && ((kDown & g_override_key_combination) != 0));
return g_has_initialized_fs_dev && (g_override_by_default ^ keys_triggered);