i made a modification for this, to display the frame widescreen, however it seems like performance tanks in certain games, mostly the music, this is present both in your original version and my modified version, its DEFINITIVELY caused by the SDL thread you created in the code, and unfortunately, the problem cannot be fixed by changing the conf file of DOSBox, tried assigning as many resources as possible to DOSBox to no avail
i KNOW its way too much to ask for you to check 5 year old code you wrote for hobby purposes, but still i wanted to know if you have any suggestions on how to improve performance, i hadnt touched C++ since university, this little project reminded me why