Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
Small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
PopovEvgeniy committed Aug 22, 2022
1 parent 5f0f13f commit fd9ac48
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions grpdecompiler.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,10 @@ void show_intro()
{
putchar('\n');
puts("GRP DECOMPILER");
puts("Version 2.0.9");
puts("Version 2.1");
puts("This program distributed under GNU GENERAL PUBLIC LICENSE");
puts("File extraction tools for GRP pseudo-archives by Popov Evgeniy Alekseyevich");
puts("2010-2022 years");
putchar('\n');
}

void show_message(const char *message)
Expand All @@ -72,7 +71,7 @@ FILE *open_input_file(const char *name)
target=fopen(name,"rb");
if (target==NULL)
{
show_message("Can't open input file");
puts("Can't open input file");
exit(1);
}
return target;
Expand Down Expand Up @@ -201,7 +200,7 @@ size_t check_format(FILE *input)
fread(&target,sizeof(grp_block),1,input);
if(strncmp(target.information,"KenSilverman",12)!=0)
{
show_message("Bad signature of GRP pseudo-archive!");
puts("Bad signature of GRP pseudo-archive!");
exit(4);
}
return (size_t)target.length;
Expand Down
4 changes: 2 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
GRP DECOMPILER

Version 2.0.9
Version 2.1

File extraction tools for GRP pseudo-archives by Popov Evgeniy Alekseyevich

Expand Down Expand Up @@ -70,4 +70,4 @@ Version history
2.0.5 - 2.0.6 - Small changes.
2.0.7 - Small bug fixed.
2.0.7.1 - 2.0.7.2 - Makefile updated.
2.0.8 - 2.0.9 - Small changes.
2.0.8 - 2.1 - Small changes.

0 comments on commit fd9ac48

Please sign in to comment.