Fixed little bug.

This commit is contained in:
TheFloW 2016-09-04 12:56:46 +02:00
parent ec51cc1ce3
commit 5ee3b3df55
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -188,7 +188,7 @@ cleanup:
int main(int argc, const char *argv[]) { int main(int argc, const char *argv[]) {
char *titleid = get_title_id(PACKAGE_DIR "/sce_sys/param.sfo"); char *titleid = get_title_id(PACKAGE_DIR "/sce_sys/param.sfo");
if (strcmp(titleid, "VITASHELL") == 0) { if (titleid && strcmp(titleid, "VITASHELL") == 0) {
copyFile(PACKAGE_DIR "/eboot.bin", "ux0:app/MLCL00001/eboot.bin"); copyFile(PACKAGE_DIR "/eboot.bin", "ux0:app/MLCL00001/eboot.bin");
if (promote(PACKAGE_DIR) >= 0) if (promote(PACKAGE_DIR) >= 0)