Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
LiEnby committed Jun 4, 2023
1 parent c55765d commit b7624a6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions c_version/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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);
Expand Down

0 comments on commit b7624a6

Please sign in to comment.