Reorganize code to new virtual folder

This commit is contained in:
d0k3 2016-11-14 20:08:14 +01:00
parent 168582f395
commit a99aa0790f
6 changed files with 7 additions and 7 deletions

View File

@ -21,9 +21,9 @@ ifeq ($(MODE),safe)
export TARGET := SafeMode9 export TARGET := SafeMode9
endif endif
BUILD := build BUILD := build
SOURCES := source source/fatfs source/nand source/abstraction SOURCES := source source/fatfs source/nand source/virtual source/abstraction
DATA := data DATA := data
INCLUDES := source source/font source/fatfs source/nand INCLUDES := source source/font source/fatfs source/nand source/virtual
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
# options for code generation # options for code generation

View File

@ -24,7 +24,7 @@ typedef enum {
#define DRV_MEMORY (1<<8) #define DRV_MEMORY (1<<8)
#define DRV_ALIAS (1<<9) #define DRV_ALIAS (1<<9)
#define DRV_SEARCH (1<<10) #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 // permission types
#define PERM_SDCARD (1<<0) #define PERM_SDCARD (1<<0)
@ -34,14 +34,14 @@ typedef enum {
#define PERM_IMAGE (1<<4) #define PERM_IMAGE (1<<4)
#define PERM_MEMORY (1<<5) #define PERM_MEMORY (1<<5)
#define PERM_A9LH ((1<<6) | PERM_SYSNAND) #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_BASE (PERM_SDCARD | PERM_RAMDRIVE)
#define PERM_ALL (PERM_SDCARD | PERM_RAMDRIVE | PERM_EMUNAND | PERM_SYSNAND | PERM_IMAGE | PERM_MEMORY | PERM_SDDATA) #define PERM_ALL (PERM_SDCARD | PERM_RAMDRIVE | PERM_EMUNAND | PERM_SYSNAND | PERM_IMAGE | PERM_MEMORY | PERM_SDDATA)
// move / copy flags // move / copy flags
#define ASK_ALL (1<<0) #define ASK_ALL (1<<0)
#define SKIP_ALL (1<<1) #define SKIP_ALL (1<<1)
#define OVERWRITE_ALL (1<<2) #define OVERWRITE_ALL (1<<2)
typedef struct { typedef struct {
char* name; // should point to the correct portion of the path char* name; // should point to the correct portion of the path