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

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

Crash when changing screen resolution #138

Open Vahsify opened 3 months ago

Vahsify commented 3 months ago

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

Jarcho commented 2 months 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.