Add define for wiping save data if existing save data from vanilla or another hack exists (#579)

This commit is contained in:
Gregory Heskett
2023-03-06 20:53:08 -05:00
committed by GitHub
parent be753ae220
commit 4c67e48456
2 changed files with 30 additions and 0 deletions

View File

@@ -29,6 +29,13 @@
#define BORDER_HEIGHT_CONSOLE 0
#define BORDER_HEIGHT_EMULATOR 0
/**
* Force the game to delete any existing save data originating from a different hack. This requires INTERNAL_ROM_NAME to be unique to work properly.
* It is recommended to enable this if any significant changes to the save file are made that could cause issues with this or other hacks.
* NOTE: Using save editors with this define will likely just end up wiping your save, since SM64 specific save editors most likely use hardcoded save magic.
*/
// #define UNIQUE_SAVE_DATA
/**
* Informs supported emulators to default to gamecube controller inputs.
*/