Add files via upload

This commit is contained in:
Li 2023-06-05 09:00:12 +12:00 committed by GitHub
parent c55765d791
commit b7624a6652
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -380,6 +380,7 @@ int main(int argc, char** argv)
if(argc <= 1){
printf("PSSE Decryptor.\n");
printf("Created by Li / SilicaAndPina ..\n");
printf("Usage: %s <PSM_FOLDER>\n",argv[0]);
return 0;
}
@ -390,9 +391,9 @@ int main(int argc, char** argv)
char psse_list[PATH_MAX];
char rif_file[PATH_MAX];
snprintf(application_folder, PATH_MAX-1, "%s\\RO\\Application", psm_folder);
snprintf(psse_list, PATH_MAX-1, "%s\\psse.list", application_folder);
snprintf(rif_file, PATH_MAX-1, "%s\\RO\\License\\FAKE.rif", psm_folder);
snprintf(application_folder, (PATH_MAX-1), "%s\\RO\\Application", psm_folder);
snprintf(psse_list, (PATH_MAX-1), "%s\\psse.list", application_folder);
snprintf(rif_file, (PATH_MAX-1), "%s\\RO\\License\\FAKE.rif", psm_folder);
fix_paths(application_folder);
fix_paths(psse_list);