mirror of
https://github.com/cavv-dev/Kekatsu-DS.git
synced 2025-06-18 16:55:40 -04:00
Fix crash in Databases menu when database init fails
Do not free the database when init fails because it will already be freed when exiting the menu
This commit is contained in:
parent
9bfd8ad2c0
commit
c93da2708e
@ -1478,9 +1478,7 @@ void databasesMenu(void)
|
||||
continue;
|
||||
|
||||
Database d = dbList[i];
|
||||
|
||||
if (!loadDatabase(d))
|
||||
freeDatabase(d);
|
||||
loadDatabase(d);
|
||||
|
||||
switchMenu(MENU_DATABASES);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user