mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 13:42:47 +00:00
Reorganize code to new virtual folder
This commit is contained in:
parent
168582f395
commit
a99aa0790f
4
Makefile
4
Makefile
@ -21,9 +21,9 @@ ifeq ($(MODE),safe)
|
||||
export TARGET := SafeMode9
|
||||
endif
|
||||
BUILD := build
|
||||
SOURCES := source source/fatfs source/nand source/abstraction
|
||||
SOURCES := source source/fatfs source/nand source/virtual source/abstraction
|
||||
DATA := data
|
||||
INCLUDES := source source/font source/fatfs source/nand
|
||||
INCLUDES := source source/font source/fatfs source/nand source/virtual
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# options for code generation
|
||||
|
10
source/fs.h
10
source/fs.h
@ -24,7 +24,7 @@ typedef enum {
|
||||
#define DRV_MEMORY (1<<8)
|
||||
#define DRV_ALIAS (1<<9)
|
||||
#define DRV_SEARCH (1<<10)
|
||||
#define DRV_STDFAT (1<<11) // standard FAT drive without limitiations
|
||||
#define DRV_STDFAT (1<<11) // standard FAT drive without limitations
|
||||
|
||||
// permission types
|
||||
#define PERM_SDCARD (1<<0)
|
||||
@ -34,14 +34,14 @@ typedef enum {
|
||||
#define PERM_IMAGE (1<<4)
|
||||
#define PERM_MEMORY (1<<5)
|
||||
#define PERM_A9LH ((1<<6) | PERM_SYSNAND)
|
||||
#define PERM_SDDATA ((1<<7) | PERM_SDCARD)
|
||||
#define PERM_SDDATA ((1<<7) | PERM_SDCARD)
|
||||
#define PERM_BASE (PERM_SDCARD | PERM_RAMDRIVE)
|
||||
#define PERM_ALL (PERM_SDCARD | PERM_RAMDRIVE | PERM_EMUNAND | PERM_SYSNAND | PERM_IMAGE | PERM_MEMORY | PERM_SDDATA)
|
||||
|
||||
// move / copy flags
|
||||
#define ASK_ALL (1<<0)
|
||||
#define SKIP_ALL (1<<1)
|
||||
#define OVERWRITE_ALL (1<<2)
|
||||
#define ASK_ALL (1<<0)
|
||||
#define SKIP_ALL (1<<1)
|
||||
#define OVERWRITE_ALL (1<<2)
|
||||
|
||||
typedef struct {
|
||||
char* name; // should point to the correct portion of the path
|
||||
|
Loading…
x
Reference in New Issue
Block a user