Have a look at the cheatcodes

You can pass the correct H & V sync parameters on boot.