- added some debug asserts to the savegame symbol code so that it always breaks into the debugger in case of a symbol error.

This commit is contained in:
Christoph Oelckers 2020-01-22 22:57:28 +01:00
parent 6958e0326d
commit b98019a4ba

View file

@ -150,6 +150,7 @@ int SaveSymDataInfo(MFILE_WRITE fil, void *ptr)
{
FILE *fp;
assert(false);
fp = fopen("savegame symbols missing.txt", "a");
if (fp)
{
@ -172,6 +173,7 @@ static int SaveSymCodeInfo_raw(MFILE_WRITE fil, void *ptr)
{
FILE *fp;
assert(false);
fp = fopen("savegame symbols missing.txt", "a");
if (fp)
{