Interrupt / systemshock

Shockolate - A minimalist and cross platform System Shock source port.
GNU General Public License v3.0
806 stars 65 forks source link

Game still crashes after winning then starting new game #236

Closed donnierussellii closed 5 years ago

donnierussellii commented 5 years ago

The animated screens don't load, but the null bmp check stops that crash. There is a screen near the start of the game.

There is another crash a little further on that I need to capture the trackback of.

It seems like we need to, when starting a new game, free all resource lock leaks, reinit the resource system, and possibly increase the maximum number of resource locks.

Or maybe even make resources stay in memory once loaded from disk and never free them, since the memory usage we're dealing with here isn't exactly large by today's standards.