I recently build myself a cocktail cabinet for running Mame.
I noticed that a fair number of games don't properly handle screen flipping in cocktail mode and since I am also a c programmer from way back I figured that I might be able to help get them fixed.
In looking at the code for a bunch of games it looks like the code for handling screen flipping is duplicated in a lot of places over and over. I was wondering why each game would duplicate the flip screen code when Mame seems to have a global rotate setting that might be able to be used for just that purpose. For example, instead of each game rendering it's pixmap rotated, it just modifies the global rotation setting and draws the pixmap as normal.
Am I missing something?
Thanks Kevin Pickell
|