Skip to content

Commit

Permalink
Update ps2classic.c
Browse files Browse the repository at this point in the history
  • Loading branch information
bucanero authored Dec 3, 2023
1 parent 76dd8eb commit 94d7eb9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/ps2classic.c
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,7 @@ void ps2_decrypt_image(u8 dex_mode, const char* image_name, const char* data_fil
int percent;

decr_size = c = percent = 0;
LOG("PS2Classic decrypt '%s' -> '%s'", image_name, data_file);

if (!get_image_klicensee(image_name, klicensee))
return;
Expand Down Expand Up @@ -647,6 +648,7 @@ void ps2_encrypt_image(u8 cfg_mode, const char* image_name, const char* data_fil
int percent;

encr_size = c = percent = 0;
LOG("PS2Classic encrypt '%s' -> '%s'", image_name, data_file);

//open files
data_out = fopen(data_file, "wb");
Expand Down

0 comments on commit 94d7eb9

Please sign in to comment.