mirror of
https://github.com/SciresM/hactool
synced 2024-11-24 21:13:07 +00:00
kip: fix logic around dumping both json and uncompressed
This commit is contained in:
parent
e27052e91b
commit
53bacc1d03
2 changed files with 4 additions and 2 deletions
4
kip.c
4
kip.c
|
@ -283,7 +283,9 @@ void kip1_save(kip1_ctx_t *ctx) {
|
|||
}
|
||||
cJSON_free(json);
|
||||
fclose(f_json);
|
||||
} else if (uncmp_path->valid == VALIDITY_VALID) {
|
||||
}
|
||||
|
||||
if (uncmp_path->valid == VALIDITY_VALID) {
|
||||
FILE *f_uncmp = os_fopen(uncmp_path->os_path, OS_MODE_WRITE);
|
||||
if (f_uncmp == NULL) {
|
||||
fprintf(stderr, "Failed to open %s!\n", uncmp_path->char_path);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#ifndef HACTOOL_VERSION_H
|
||||
#define HACTOOL_VERSION_H
|
||||
|
||||
#define HACTOOL_VERSION "1.3.3"
|
||||
#define HACTOOL_VERSION "1.4.0"
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue