First post, by emendelson
A problem that seems to be in SDL causes a problem with DOSBox under OS X: if you minimize DOSBox, and then restore it, the color palette changes. The quickest way I've found to fix this problem when it occurs is to run the Mapper and immediately exit the mapper. This redraws the whole screen, and the colors are correct again.
Is it possible to add a few lines of code to a project so that the screen could be fully redrawn with a shortcut key, like the other keys that you can add via the mapper?
Or is it possible to add code that would open the mapper, and then immediately exit the mapper, to do the same thing? I've experimented with this, without success.
I think this might be useful feature to have in DOSBox. I'll be grateful for any help from anyone who knows how to code this kind of thing.
(Of course, it would be best if the screen got redrawn whenever the DOSBox window was restored after being minimized, but I suppose that would be a lot more complicated.)