mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-26 11:22:17 -05:00
Remember save location (#980)
* Remember save location * Clarified grotto caveat * Update ImGuiImpl.cpp
This commit is contained in:
parent
7267b60a26
commit
27e0f19dac
@ -1013,6 +1013,9 @@ namespace SohImGui {
|
|||||||
Tooltip("Allow Link to put items away without having to wait around");
|
Tooltip("Allow Link to put items away without having to wait around");
|
||||||
EnhancementCheckbox("Mask Select in Inventory", "gMaskSelect");
|
EnhancementCheckbox("Mask Select in Inventory", "gMaskSelect");
|
||||||
Tooltip("After completing the mask trading sub-quest, press A and any direction on the mask slot to change masks");
|
Tooltip("After completing the mask trading sub-quest, press A and any direction on the mask slot to change masks");
|
||||||
|
EnhancementCheckbox("Remember Save Location", "gRememberSaveLocation");
|
||||||
|
Tooltip("When loading a save, places Link at the last entrance he went through.\n"
|
||||||
|
"This doesn't work if the save was made in a grotto.");
|
||||||
ImGui::EndMenu();
|
ImGui::EndMenu();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -442,6 +442,8 @@ void Sram_OpenSave() {
|
|||||||
|
|
||||||
Save_LoadFile();
|
Save_LoadFile();
|
||||||
|
|
||||||
|
if (!CVar_GetS32("gRememberSaveLocation", 0) || gSaveContext.savedSceneNum == SCENE_YOUSEI_IZUMI_TATE ||
|
||||||
|
gSaveContext.savedSceneNum == SCENE_KAKUSIANA) {
|
||||||
switch (gSaveContext.savedSceneNum) {
|
switch (gSaveContext.savedSceneNum) {
|
||||||
case SCENE_YDAN:
|
case SCENE_YDAN:
|
||||||
case SCENE_DDAN:
|
case SCENE_DDAN:
|
||||||
@ -499,6 +501,7 @@ void Sram_OpenSave() {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
osSyncPrintf("scene_no = %d\n", gSaveContext.entranceIndex);
|
osSyncPrintf("scene_no = %d\n", gSaveContext.entranceIndex);
|
||||||
osSyncPrintf(VT_RST);
|
osSyncPrintf(VT_RST);
|
||||||
|
Loading…
Reference in New Issue
Block a user