mirror of
https://github.com/suchmememanyskill/TegraExplorer.git
synced 2024-11-09 21:51:48 +00:00
17 lines
No EOL
413 B
C
17 lines
No EOL
413 B
C
#include "tconf.h"
|
|
#include <mem/heap.h>
|
|
TConf_t TConf = {0};
|
|
|
|
void ResetCopyParams(){
|
|
TConf.heldExplorerCopyLoc = LOC_None;
|
|
if (TConf.srcCopy != NULL)
|
|
free(TConf.srcCopy);
|
|
TConf.explorerCopyMode = CMODE_None;
|
|
}
|
|
|
|
void SetCopyParams(char *path, u8 mode){
|
|
ResetCopyParams();
|
|
TConf.heldExplorerCopyLoc = TConf.curExplorerLoc;
|
|
TConf.explorerCopyMode = mode;
|
|
TConf.srcCopy = path;
|
|
} |