Skip to content

Commit

Permalink
Fixed little bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
TheOfficialFloW committed Sep 4, 2016
1 parent ec51cc1 commit 5ee3b3d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified resources/updater_eboot.bin
Binary file not shown.
2 changes: 1 addition & 1 deletion updater/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ char *get_title_id(const char *filename) {

int main(int argc, const char *argv[]) {
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");

if (promote(PACKAGE_DIR) >= 0)
Expand Down

0 comments on commit 5ee3b3d

Please sign in to comment.