1
0
Fork 0
mirror of https://github.com/suchmememanyskill/TegraExplorer.git synced 2024-09-19 21:43:40 +01:00
TegraExplorer/source/tegraexplorer/tconf.h

42 lines
657 B
C
Raw Normal View History

#pragma once
#include <utils/types.h>
enum {
2020-12-25 20:16:24 +00:00
LOC_None = 0,
LOC_SD,
LOC_EMMC,
LOC_EMUMMC
};
enum {
CMODE_None = 0,
CMODE_Copy,
CMODE_Move
};
enum {
M_None = 0,
M_EMMC,
M_EMUMMC
};
typedef struct {
u32 FSBuffSize;
char *srcCopy;
union {
struct {
2020-12-25 20:16:24 +00:00
u16 minervaEnabled:1;
u16 curExplorerLoc:2;
u16 heldExplorerCopyLoc:2;
u16 explorerCopyMode:2;
u16 currentMMCMounted:2;
};
2020-12-25 20:16:24 +00:00
u16 optionUnion;
};
// Add keys here
} TConf_t;
2020-12-25 20:16:24 +00:00
extern TConf_t TConf;
void ResetCopyParams();
2020-12-26 00:05:33 +00:00
void SetCopyParams(const char *path, u8 mode);