Skip to content
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.

Commit

Permalink
Fix crash when loading saves.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyabsi committed Apr 26, 2023
1 parent 51ff951 commit b7a58c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/dink/dink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18648,7 +18648,9 @@ bool LoadState(string const &path, bool bLoadPathsOnly)
return false;
}

#ifndef PLATFORM_PSP2 // This causes crash on Vita, and without it the game seems to work just fine...
DefragUsedPicIDs();
#endif


if ( g_dglos.g_gameMode > 2 || g_dglos.m_bRenderBackgroundOnLoad)
Expand Down

0 comments on commit b7a58c7

Please sign in to comment.