From ae583300e6ec8eb122c8de004c7684d7b88d91f3 Mon Sep 17 00:00:00 2001 From: d0k3 Date: Thu, 17 Oct 2019 19:51:05 +0200 Subject: [PATCH] Don't show the JEDECID file on carts that have none --- arm9/source/virtual/vcart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arm9/source/virtual/vcart.c b/arm9/source/virtual/vcart.c index 0eb274acc..607b6ad66 100644 --- a/arm9/source/virtual/vcart.c +++ b/arm9/source/virtual/vcart.c @@ -62,7 +62,7 @@ bool ReadVCartDir(VirtualFile* vfile, VirtualDir* vdir) { vfile->size = cdata->save_size; vfile->flags = VFLAG_SAVEGAME; return true; - } else if (vdir->index == 7) { // JEDEC id and status register + } else if ((vdir->index == 7) && cdata->save_type.chip) { // JEDEC id and status register strcpy(vfile->name, "jedecid_and_sreg.bin"); vfile->size = JEDECID_AND_SREG_SIZE; vfile->flags |= VFLAG_JEDECID_AND_SRFG;