forgot to push
This commit is contained in:
@@ -90,7 +90,8 @@ void RunScript(char *path, FSEntry_t entry){
|
|||||||
char *thing = CombinePaths(path, entry.name);
|
char *thing = CombinePaths(path, entry.name);
|
||||||
u32 size;
|
u32 size;
|
||||||
char *script = sd_file_read(thing, &size);
|
char *script = sd_file_read(thing, &size);
|
||||||
TConf.scriptCWD = thing;
|
free(thing);
|
||||||
|
TConf.scriptCWD = path;
|
||||||
|
|
||||||
if (!script)
|
if (!script)
|
||||||
return;
|
return;
|
||||||
@@ -110,7 +111,6 @@ void RunScript(char *path, FSEntry_t entry){
|
|||||||
exitFunction(ret.main.operations.data, ret.main.operations.count);
|
exitFunction(ret.main.operations.data, ret.main.operations.count);
|
||||||
vecFree(ret.staticVarHolder);
|
vecFree(ret.staticVarHolder);
|
||||||
vecFree(ret.main.operations);
|
vecFree(ret.main.operations);
|
||||||
free(thing);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void RenameFile(char *path, FSEntry_t entry){
|
void RenameFile(char *path, FSEntry_t entry){
|
||||||
|
|||||||
Reference in New Issue
Block a user