Skip to content

Commit

Permalink
Don't show the JEDECID file on carts that have none
Browse files Browse the repository at this point in the history
d0k3 committed Oct 17, 2019
1 parent 9e72c09 commit ae58330
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arm9/source/virtual/vcart.c
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit ae58330

Please sign in to comment.