From 4e9721db9b1644be17b66ba7adcf84f4069a09d6 Mon Sep 17 00:00:00 2001 From: Wolfvak Date: Sun, 19 Jul 2020 12:08:47 -0300 Subject: [PATCH] new3DS FCRAM is always enabled nowadays, so the IS_UNLOCKED check is wrong --- arm9/source/virtual/vmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arm9/source/virtual/vmem.c b/arm9/source/virtual/vmem.c index dd59cef..c3935cb 100644 --- a/arm9/source/virtual/vmem.c +++ b/arm9/source/virtual/vmem.c @@ -94,7 +94,7 @@ bool ReadVMemDir(VirtualFile* vfile, VirtualDir* vdir) { // uses a generic vdir memcpy(vfile, templates + vdir->index, sizeof(VirtualFile)); // process special flags - if (((vfile->flags & VFLAG_N3DS_EXT) && (IS_O3DS || IS_UNLOCKED)) || // this is not on O3DS consoles and locked by sighax + if (((vfile->flags & VFLAG_N3DS_EXT) && (IS_O3DS)) || // this is not on O3DS consoles and locked by sighax ((vfile->flags & VFLAG_OTP) && !(IS_UNLOCKED)) || // OTP still locked ((vfile->flags & VFLAG_BOOT9) && !(HAS_BOOT9)) || // boot9 not found ((vfile->flags & VFLAG_BOOT11) && !(HAS_BOOT11)) || // boot11 not found