mirror of
https://github.com/nunuhara/xsystem4.git
synced 2026-10-07 22:38:11 +03:00
Merge pull request #273 from kichikuou/rsm-version
Pastel Chime Continue: Make sure resume save v7 is used
This commit is contained in:
@@ -969,6 +969,11 @@ static int write_rsave_image_comments(const char *key, const char *path, struct
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Comments were added in RSM v7, so if the save is older, upgrade it.
|
||||
if (save->version <= 6) {
|
||||
save->version = 7;
|
||||
}
|
||||
|
||||
for (int i = 0; i < save->nr_comments; i++) {
|
||||
free(save->comments[i]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user