I'm using GLSL...
How do I change prescale?
you can change it for all games (or just to test) in mame.ini
To only have it affect mk4, you'll have to create an mk4.ini (a copy of mame.ini with different settings) and put it in the ini folder.
I'm assuming the rom name here is mk4. name it whatever the rom is called.
If you don't have mame.ini in your mame folder, use the command line
mame.exe -createconfig
or
mame.exe -cc
to create it.
Both ways used to work, not sure if they still do.