mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-12-22 20:31:14 +00:00
Loader: always redirect sysmodules.
This commit is contained in:
parent
7e3b5c37d0
commit
ac391d9c5e
1 changed files with 1 additions and 1 deletions
|
@ -307,7 +307,7 @@ bool ContentManagement::ShouldReplaceWithHBL(u64 tid) {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ContentManagement::ShouldOverrideContents(u64 tid) {
|
bool ContentManagement::ShouldOverrideContents(u64 tid) {
|
||||||
if (HasCreatedTitle(0x0100000000001000)) {
|
if (tid >= 0x0100000000001000 && HasCreatedTitle(0x0100000000001000)) {
|
||||||
u64 kDown = 0;
|
u64 kDown = 0;
|
||||||
bool keys_triggered = (R_SUCCEEDED(HidManagement::GetKeysDown(&kDown)) && ((kDown & g_override_key_combination) != 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);
|
return g_has_initialized_fs_dev && (g_override_by_default ^ keys_triggered);
|
||||||
|
|
Loading…
Reference in a new issue