Skip to content

Commit

Permalink
fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseAaronLopezGarcia committed Apr 15, 2024
1 parent c7feb39 commit ba136ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion loader/dc/vunbricker/install.c
Original file line number Diff line number Diff line change
Expand Up @@ -1098,7 +1098,7 @@ int install_thread(SceSize args, void *argp)
#endif

size = offset+ReadFile(ipl_name, 0, big_buffer+offset, BIG_BUFFER_SIZE-offset);
if (size <= 0)
if (size-offset <= 0)
{
InstallError(fw, "Cannot read nandipl\n");
}
Expand Down

0 comments on commit ba136ad

Please sign in to comment.