Skip to content

Conversation

Malkierian
Copy link
Contributor

@Malkierian Malkierian commented Sep 26, 2025

This decouples file metadata loading from the LoadFile flow, thus allowing for the saveBlock and gSaveContext to be untouched on startup and resets. As this completely avoids both of those now, some testing to make sure there aren't unintended consequences of having zeroed data for both of those before slot loading is probably warranted.

This also implements the fileType field in the save block, which is then used to determine old randomizer status rather than checking all the vanilla block fields. The new StartupCheckAndInitMeta() function, which is called in the Sram_Init() chain, also now houses that and the build version checks.

Build Artifacts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant