Skip to content

Commit

Permalink
Fixed graphics bug
Browse files Browse the repository at this point in the history
  • Loading branch information
himanshugoel2797 committed Jul 6, 2015
1 parent 8a6fa35 commit 43dc741
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -616,10 +616,13 @@ void start(void)
strcpy(hbrewPath, cwd);
strcat(hbrewPath, file->name);

end_video();
printf("Loading %s", hbrewPath);
loadHomebrew(hbrewPath, 1);
startHomebrew(1);

int result = loadHomebrew(hbrewPath, 1);
printf("Load result: %d", result);
if(result >= 0)startHomebrew(1);
else printf("Load failed");
init_video();
}

// Delete Application
Expand Down

0 comments on commit 43dc741

Please sign in to comment.