Update fs.c

This commit is contained in:
TuxSH 2016-05-12 15:08:12 +02:00
parent 2fe5da97eb
commit ca07af2fe9

View File

@ -85,6 +85,8 @@ void loadPayload(u32 pressed)
memcpy(&path[15], info.altname, 13);
loaderAddress[1] = fileRead((void *)0x24F00000, path);
if(pattern[0] == 'n') f_unlink(path);
((void (*)())loaderAddress)();
}
@ -158,4 +160,4 @@ void firmRead(void *dest, const char *firmFolder)
}
fileRead(dest, path);
}
}