Fixed a couple of automap crashes

This commit is contained in:
Martin Haye 2021-08-09 08:22:48 -07:00
parent f8a26420c3
commit 0baee6e4e5
2 changed files with 2 additions and 2 deletions

View File

@ -1156,7 +1156,7 @@ def _automap_show(targetX, targetY)#1
// Ensure the global tileset is reloaded (otherwise tile eng will try to load it from wrong partition)
mmgr(START_LOAD, 1)
pGlobalTileset = mmgr(QUEUE_LOAD, 1<<8 | RES_TYPE_SM_TILESET)
pGlobalTileset = mmgr(QUEUE_LOAD, 1<<8 | RES_TYPE_TILESET)
mmgr(FINISH_LOAD, 0)
// All done.

View File

@ -107,4 +107,4 @@ const RWTS_DRV2 = $80
const RWTS_RDWRPART = (0<<8)
const RWTS_OPENDIR = (1<<8)
const LOAD_SAVE_BUF = $4E00
const LOAD_SAVE_BUF = $4C00