From 144ade92f8a13aaa555bef7912a819633b3c36b1 Mon Sep 17 00:00:00 2001 From: d0k3 Date: Fri, 2 Feb 2018 14:03:00 +0100 Subject: [PATCH] Deprecated ncchinfo.bin xorpads and the xorpad drive --- arm9/source/filesys/filetype.h | 3 ++- arm9/source/filesys/fsdrive.h | 5 ++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arm9/source/filesys/filetype.h b/arm9/source/filesys/filetype.h index 07db005..1adc712 100644 --- a/arm9/source/filesys/filetype.h +++ b/arm9/source/filesys/filetype.h @@ -56,7 +56,8 @@ #define FTYPE_HASCODE(tp) ((u64) (tp&(GAME_NCCH|FLAG_CXI)) == (u64) (GAME_NCCH|FLAG_CXI)) #define FTYPE_RESTORABLE(tp) (tp&(IMG_NAND)) #define FTYPE_EBACKUP(tp) (tp&(IMG_NAND)) -#define FTYPE_XORPAD(tp) (tp&(BIN_NCCHNFO)) +// #define FTYPE_XORPAD(tp) (tp&(BIN_NCCHNFO)) // deprecated +#define FTYPE_XORPAD(tp) 0 #define FTYPE_KEYINIT(tp) (tp&(BIN_KEYDB)) #define FTYPE_KEYINSTALL(tp) (tp&(BIN_KEYDB)) #define FTYPE_SCRIPT(tp) (tp&(TXT_SCRIPT)) diff --git a/arm9/source/filesys/fsdrive.h b/arm9/source/filesys/fsdrive.h index eb52d8d..7f91524 100644 --- a/arm9/source/filesys/fsdrive.h +++ b/arm9/source/filesys/fsdrive.h @@ -5,7 +5,7 @@ #define NORM_FS 10 #define IMGN_FS 3 // image normal filesystems -#define VIRT_FS 13 +#define VIRT_FS 12 // primary drive types #define DRV_UNKNOWN (0<<0) @@ -38,11 +38,10 @@ "GAME IMAGE", "AESKEYDB IMAGE", "TICKET.DB IMAGE", \ "MEMORY VIRTUAL", \ "VRAM VIRTUAL", \ - "NAND XORPADS", \ "LAST SEARCH" \ #define FS_DRVNUM \ - "0:", "1:", "2:", "3:", "A:", "S:", "4:", "5:", "6:", "B:", "E:", "7:", "8:", "9:", "I:", "C:", "G:", "K:", "T:", "M:", "V:", "X:", "Z:" + "0:", "1:", "2:", "3:", "A:", "S:", "4:", "5:", "6:", "B:", "E:", "7:", "8:", "9:", "I:", "C:", "G:", "K:", "T:", "M:", "V:", "Z:" /** Function to identify the type of a drive **/ int DriveType(const char* path);