mir-diablo-ii-tools / SlashGaming-Diablo-II-Free-Resolution

A project aimed at modding Diablo II to support any resolution.
Other
98 stars 23 forks source link

Crash when changing screen resolution #138

Open Vahsify opened 2 months ago

Vahsify commented 2 months ago

Crash and error if you change several screen resolutions in a row.

Jarcho commented 1 week ago

This is a bug in Diablo II. Changing resolutions reinitializes the sprite cache, but doesn't cancel async IO requests. If an async request attempts to use the sprite cache between when it's destroyed and recreated the game will crash.