mirror of
https://github.com/Zelda64Recomp/Zelda64Recomp.git
synced 2025-10-30 08:03:03 +00:00
Update autosaving.c to include @recomp_event comments
This commit is contained in:
parent
7e4c863c63
commit
9cf7472c15
1 changed files with 3 additions and 2 deletions
|
|
@ -74,7 +74,7 @@ RECOMP_DECLARE_EVENT(recomp_on_autosave(PlayState* play));
|
||||||
RECOMP_DECLARE_EVENT(recomp_after_autosave(PlayState* play));
|
RECOMP_DECLARE_EVENT(recomp_after_autosave(PlayState* play));
|
||||||
|
|
||||||
RECOMP_EXPORT void recomp_do_autosave(PlayState* play) {
|
RECOMP_EXPORT void recomp_do_autosave(PlayState* play) {
|
||||||
|
// @recomp_event recomp_on_autosave(PlayState* play): Autosave triggered.
|
||||||
recomp_on_autosave(play);
|
recomp_on_autosave(play);
|
||||||
// Transfer the scene flags into the cycle flags.
|
// Transfer the scene flags into the cycle flags.
|
||||||
Play_SaveCycleSceneFlags(&play->state);
|
Play_SaveCycleSceneFlags(&play->state);
|
||||||
|
|
@ -103,6 +103,7 @@ RECOMP_EXPORT void recomp_do_autosave(PlayState* play) {
|
||||||
|
|
||||||
gSaveContext.save.isOwlSave = false;
|
gSaveContext.save.isOwlSave = false;
|
||||||
|
|
||||||
|
// @recomp_event recomp_on_autosave(PlayState* play): Autosave finished.
|
||||||
recomp_after_autosave(play);
|
recomp_after_autosave(play);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue