scene saving now works

This commit is contained in:
MelonSpeedruns
2026-04-16 19:50:20 -04:00
parent a4be0841e5
commit 39d951d0cb
3 changed files with 4 additions and 5 deletions
-3
View File
@@ -1326,9 +1326,6 @@ void dMenu_save_c::memCardDataLoadWait() {
}
void dMenu_save_c::dataWrite() {
int stageNo = dStage_stagInfo_GetSaveTbl(dComIfGp_getStageStagInfo());
dComIfGs_putSave(stageNo);
dComIfGs_setMemoryToCard(mSaveBuffer, mSelectedFile);
mDoMemCdRWm_SetCheckSumGameData(mSaveBuffer, mSelectedFile);
+4
View File
@@ -326,6 +326,10 @@ int dStage_roomControl_c::loadRoom(int roomCount, u8* rooms, bool param_2) {
if (!r26) {
return FALSE;
}
#if TARGET_PC
triggerAutoSave();
#endif
for (int i = 0; i < roomCount; i++) {
int roomNo = dStage_roomRead_dt_c_GetLoadRoomIndex(rooms[i]);
-2
View File
@@ -28,9 +28,7 @@
#include <dusk/imgui/ImGuiConsole.hpp>
#include <m_Do/m_Do_MemCardRWmng.h>
#include <m_Do/m_Do_MemCard.h>
#include <d/d_file_select.h>
#endif
#include <d/d_s_logo.h>
fapGm_HIO_c::fapGm_HIO_c() {
mUsingHostIO = true;