thpatch / thcrap-tsa

Basic thcrap patches maintained by the Touhou Patch Center developers
https://www.thpatch.net
23 stars 13 forks source link

prevent zun's mutex from resetting the config #52

Closed DankRank closed 2 years ago

DankRank commented 2 years ago

me when I accidentally start the game twice and then the next time it runs in full screen and resizes all my windows: crying-emoji-dies

ManDude commented 2 years ago

yes plz this happens all the time with pcb

32th-System commented 2 years ago

Turns out the reason why this happens is because ZUN will do the mutex checking before loading the cfg, but always write the cfg on exit, even if no cfg was loaded