Update isleapp.cpp

This commit is contained in:
Christian Semmler 2024-06-07 15:25:06 -04:00
parent ea5fb57657
commit 63c615c025

View File

@ -162,16 +162,10 @@ void IsleApp::Close()
TransitionManager()->SetWaitIndicator(NULL); TransitionManager()->SetWaitIndicator(NULL);
Lego()->StopTimer(); Lego()->StopTimer();
MxLong lVar8; while (Streamer()->Close(NULL) == SUCCESS) {
do { }
lVar8 = Streamer()->Close(NULL);
} while (lVar8 == 0);
while (Lego()) {
if (Lego()->DoesEntityExist(ds)) {
break;
}
while (Lego() && !Lego()->DoesEntityExist(ds)) {
Timer()->GetRealTime(); Timer()->GetRealTime();
TickleManager()->Tickle(); TickleManager()->Tickle();
} }
@ -469,8 +463,8 @@ MxResult IsleApp::SetupWindow()
} }
GameState()->SetSavePath(m_savePath); GameState()->SetSavePath(m_savePath);
GameState()->SerializePlayersInfo(1); GameState()->SerializePlayersInfo(LegoStorage::c_read);
GameState()->SerializeScoreHistory(1); GameState()->SerializeScoreHistory(LegoStorage::c_read);
MxS32 iVar10; MxS32 iVar10;
switch (m_islandQuality) { switch (m_islandQuality) {