mirror of
https://github.com/pspdev/pspsdk.git
synced 2025-10-03 16:51:27 +00:00
Merge pull request #6 from artart78/master
Fixed PrxEncrypter for procfw (patch by popsdeco)
This commit is contained in:
@@ -298,12 +298,12 @@ int main(int argc, char **argv)
|
||||
header_keys keys;
|
||||
u8 rawkheaderBk[0x90];
|
||||
char *out_fname = NULL;
|
||||
if(argc != 3)
|
||||
if(argc < 2)
|
||||
{
|
||||
printf("USAGE: %s [input_prx] [output_prx]\n", argv[0]);
|
||||
return 0;
|
||||
}
|
||||
out_fname = argv[2];
|
||||
out_fname = argc > 2 ? argv[2] : "./data.psp";
|
||||
|
||||
memset(in_buffer, 0, sizeof(in_buffer));
|
||||
memset(out_buffer, 0, sizeof(out_buffer));
|
||||
|
Reference in New Issue
Block a user