I am already using switchres 1 and specifying the resolution of games in an ini file. No problem with that, as it boots in the correct resolution (lets just say 320x240).
But how do I get MAME to dynamically switch the resolution when the game does? For example, within the game, switching between 320x240, then 640x480i, then back to 320x240, etc.
An example game that I play that does this Guitar Freaks (all versions do this I think), but other games also do this. On a real hardware this is no problem as the PCB itself will dynamically change timings and frequencies sent to the CRT, but with MAME, it seems it changes the windows video resolution once on boot and never touches it again despite the actual in game resolution changing.
Is there any way for MAME to do this?