Deprecated ncchinfo.bin xorpads and the xorpad drive

This commit is contained in:
d0k3 2018-02-02 14:03:00 +01:00
parent e70074b9c5
commit 144ade92f8
2 changed files with 4 additions and 4 deletions

View File

@ -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))

View File

@ -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);