mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-13 01:57:18 -07:00
Tracker Debug Performance, Vanilla Save Fix (#4397)
* Improve check tracker performance. * Fix vanilla saves getting randomizer quest assignment. Fix trying to load blank data blocks from save file. Prevent writing randomizer block, even if empty, when save type isn't rando.
This commit is contained in:
parent
64ee12c11f
commit
05962baf45
4 changed files with 77 additions and 63 deletions
|
@ -250,12 +250,12 @@ void Sram_InitSave(FileChooseContext* fileChooseCtx) {
|
|||
|
||||
u8 currentQuest = fileChooseCtx->questType[fileChooseCtx->buttonIndex];
|
||||
|
||||
if (Randomizer_IsSeedGenerated() || Randomizer_IsPlandoLoaded()) {
|
||||
if (currentQuest == QUEST_RANDOMIZER && (Randomizer_IsSeedGenerated() || Randomizer_IsPlandoLoaded())) {
|
||||
gSaveContext.questId = QUEST_RANDOMIZER;
|
||||
|
||||
Randomizer_InitSaveFile();
|
||||
} else if (currentQuest == QUEST_MASTER) {
|
||||
gSaveContext.questId = QUEST_MASTER;
|
||||
} else {
|
||||
gSaveContext.questId = currentQuest;
|
||||
}
|
||||
|
||||
Save_SaveFile();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue