kip: fix logic around dumping both json and uncompressed

This commit is contained in:
Michael Scire 2020-06-01 16:07:46 -07:00
parent e27052e91b
commit 53bacc1d03
2 changed files with 4 additions and 2 deletions

4
kip.c
View file

@ -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);

View file

@ -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