diff options
| author | TakaRikka <38417346+TakaRikka@users.noreply.github.com> | 2025-10-06 02:48:39 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-06 12:48:39 +0300 |
| commit | 23a6cf91cd6acf97b4b78bf351c0845a39f84989 (patch) | |
| tree | efef0a1ebd4a16c37de9f528576cc722c00a947a /src/d/d_save.cpp | |
| parent | b3d30467bf46430ecb28046a8eb14cd30803befc (diff) | |
start shield final config (#2726)
* checkpoint
* shield final half building
Diffstat (limited to 'src/d/d_save.cpp')
| -rw-r--r-- | src/d/d_save.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/d/d_save.cpp b/src/d/d_save.cpp index d2465d8967..8744db4470 100644 --- a/src/d/d_save.cpp +++ b/src/d/d_save.cpp @@ -15,6 +15,10 @@ #include "f_op/f_op_scene_mng.h" #include "stdio.h" +#if VERSION == VERSION_SHIELD +#include "lingcod/lingcod.h" +#endif + /* 80032918-80032958 02D258 0040+00 4/4 0/0 0/0 .text dSv_item_rename__FUc */ static u8 dSv_item_rename(u8 i_itemNo) { switch (i_itemNo) { @@ -1886,6 +1890,10 @@ int dSv_info_c::memory_to_card(char* card_ptr, int dataNum) { bool lantern_not_recovered = false; bool tmp_lantern_check = false; u16 current_lantern_oil = 0; + + #if VERSION == VERSION_SHIELD + lingcod_revalidateNVSI(); + #endif // If haven't gotten then lantern back from the monkey if (!dComIfGs_isEventBit((u16)dSv_event_flag_c::saveBitLabels[226])) { |
