First post, by Silanda
This is a bit strange. I decided to unify my build environment by building with MSYS2, which I use for other things, rather than the older MinGW environment. I've ran into a problem however: the executable that's produced works just fine, including screenshots and video capture, until I close Dosbox.
If I close it by typing "exit", everything's fine, but if I close it by clicking the X in the right corner, the program crashes rather than exiting cleanly. Oddly, this didn't seem to happen when I had a debugger attached, but debugging is not my forte. Builds without screenshot support don't have this issue.
This is on Windows 10, and Msys2 is using up to date versions of Zlib and libPNG as installed by pacman, although I did try to use the version of libPNG suggested in the MinGW build guide, with the same results.
Any suggestions would be appreciated.