git subrepo pull --force emummc
subrepo: subdir: "emummc" merged: "2fc47cbb8" upstream: origin: "https://github.com/lulle2007200/emuMMC.git" branch: "develop" commit: "2fc47cbb8" git-subrepo: version: "0.4.9" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "30db3b8"
This commit is contained in:
25
emummc/source/emuMMC/emummc_ctx.h
vendored
25
emummc/source/emuMMC/emummc_ctx.h
vendored
@@ -22,19 +22,16 @@
|
||||
#include "../FS/FS_versions.h"
|
||||
|
||||
#define EMUMMC_STORAGE_MAGIC 0x30534645 /* EFS0, EmuFS0 */
|
||||
#define EMUMMC_MAX_DIR_LENGTH 0x7F
|
||||
|
||||
enum emuMMC_Type
|
||||
{
|
||||
// EMMC Device raw
|
||||
emuMMC_EMMC = 0,
|
||||
// 0x80 for path from config + 0xf for drive prefix
|
||||
#define EMUMMC_MAX_DIR_LENGTH 0x8F
|
||||
|
||||
// SD Device raw
|
||||
emuMMC_SD_Raw,
|
||||
// SD Device File
|
||||
emuMMC_SD_File,
|
||||
|
||||
emuMMC_MAX
|
||||
enum EmummcType {
|
||||
EmummcType_None = 0,
|
||||
EmummcType_Partition_Sd = 1,
|
||||
EmummcType_File_Sd = 2,
|
||||
EmummcType_Partition_Emmc = 3,
|
||||
EmummcType_File_Emmc = 4,
|
||||
};
|
||||
|
||||
typedef struct _emuMMC_ctx_t
|
||||
@@ -42,15 +39,15 @@ typedef struct _emuMMC_ctx_t
|
||||
u32 magic;
|
||||
u32 id;
|
||||
enum FS_VER fs_ver;
|
||||
enum emuMMC_Type EMMC_Type;
|
||||
enum emuMMC_Type SD_Type;
|
||||
enum EmummcType EMMC_Type;
|
||||
enum EmummcType SD_Type;
|
||||
|
||||
/* Partition based */
|
||||
u64 EMMC_StoragePartitionOffset;
|
||||
u64 SD_StoragePartitionOffset;
|
||||
|
||||
/* File-Based */
|
||||
char storagePath[EMUMMC_MAX_DIR_LENGTH+1];
|
||||
char storagePath[EMUMMC_MAX_DIR_LENGTH + 1];
|
||||
} emuMMC_ctx_t, *PemuMMC_ctx_t;
|
||||
|
||||
#endif /* __EMUMMC_CTX_H__ */
|
||||
|
||||
Reference in New Issue
Block a user