mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-25 13:35:12 +00:00
Fixed crash in configfile_save
This commit is contained in:
parent
a35d759a46
commit
0f86018bfe
1 changed files with 1 additions and 0 deletions
|
@ -423,6 +423,7 @@ void configfile_save(const char *filename) {
|
|||
// save enabled mods
|
||||
for (unsigned int i = 0; i < gModTableLocal.entryCount; i++) {
|
||||
struct ModListEntry* entry = &gModTableLocal.entries[i];
|
||||
if (entry == NULL) { continue; }
|
||||
if (!entry->enabled) { continue; }
|
||||
fprintf(file, "%s %s\n", "enable-mod:", entry->name);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue