mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
ReadSaveGameHeaders at start and close
git-svn-id: https://svn.eduke32.com/eduke32@6746 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
867b4db1a0
commit
d04d0128e3
1 changed files with 4 additions and 0 deletions
|
@ -5535,6 +5535,8 @@ static void G_FreeHashAnim(const char *UNUSED(string), intptr_t key)
|
|||
|
||||
static void G_Cleanup(void)
|
||||
{
|
||||
ReadSaveGameHeaders(); // for culling
|
||||
|
||||
int32_t i;
|
||||
|
||||
for (i=(MAXLEVELS*(MAXVOLUMES+1))-1; i>=0; i--) // +1 volume for "intro", "briefing" music
|
||||
|
@ -6569,6 +6571,8 @@ int app_main(int argc, char const * const * argv)
|
|||
Menu_Init();
|
||||
}
|
||||
|
||||
ReadSaveGameHeaders();
|
||||
|
||||
#if 0
|
||||
// previously, passing -0 through -9 on the command line would load the save in that slot #
|
||||
// this code should be reusable for a new parameter that takes a filename, if desired
|
||||
|
|
Loading…
Reference in a new issue