Update:
in FBA, I’m able to fix the problem by doing the following:
quick menu -> options -> vertical mode OFF
settings -> core -> allow rotation OFF
I’m still not sure why this is working now, when it wasn’t working the last time I tried it (see above). It doesn’t seem likely that I forgot to reset the core, but it’s possible.
In MAME 2003, I’m able to fix the problem by doing the following:
quick menu -> options -> TATE mode ON
However, I still have not found a solution for FBA 2012, which seems to always say the resolution is 240x320 (for a 320x240 vertical game) no matter what options are enabled/disabled.
Needless to say, the current settings related to video rotation can be somewhat confusing. My thinking is that, by default, vertically oriented games should be displayed in their original unaltered resolutions, as they would appear on a CRT that is normally oriented. That is, a 320x240 vertical game should look like this by default:
The user can then use the rotation option under settings -> video to orient it how they want.
Reasons for this:
- it’s correct according to what the original hardware did
- it’s easier to work with/understand
- it avoids the problem of scaling artifacts when using integer scale*
*if a game is 320x240 (for example) and the resolution being output by the emulator is 240x320, then you get scaling artifacts with integer scaling enabled, because you’re starting with an incorrect resolution (unless you choose an integer scale that happens to be a multiple of both 240 and 320, such as 960).