Make owl saves not get deleted on load if autosaving is enabled, updated autosave description
This commit is contained in:
parent
2a72fc25ca
commit
73eac7c88d
|
@ -179,9 +179,10 @@
|
|||
<b>This setting does not affect keyboard input.</b>
|
||||
</p>
|
||||
<p data-if="cur_config_index == 5">
|
||||
Enables or disables the autosave feature.
|
||||
Turns on autosaving and prevents owl saves from being deleted on load. If an owl save exists when an autosave is made, the owl save will get replaced.
|
||||
<br/>
|
||||
<b>If any owl save exists when an autosave is made, the owl save will get replaced.</b>
|
||||
<br/>
|
||||
<b>If autosaving is disabled, existing autosaves will be deleted when loaded.</b>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -88,8 +88,8 @@ void func_80147314(SramContext* sramCtx, s32 fileNum) {
|
|||
s32 save_type = gSaveContext.save.isOwlSave;
|
||||
gSaveContext.save.isOwlSave = false;
|
||||
|
||||
// @recomp Check if this owl save was actually an autosave and don't clear it if so.
|
||||
if (save_type != SAVE_TYPE_AUTOSAVE) {
|
||||
// @recomp Prevent owl save/autosave deletion if autosaving is enabled.
|
||||
if (!recomp_autosave_enabled()) {
|
||||
gSaveContext.save.saveInfo.playerData.newf[0] = '\0';
|
||||
gSaveContext.save.saveInfo.playerData.newf[1] = '\0';
|
||||
gSaveContext.save.saveInfo.playerData.newf[2] = '\0';
|
||||
|
|
Loading…
Reference in New Issue