2x Integer Vertical Scaling in GBA2P
I'm trying to achieve 2x integer vertical scaling in 720p in the Game Boy Advance 2 Player core, with horizontal splitscreen. However, with no interpolation, I'm getting uneven pixels and shimmering scrolling, which shouldn't be happening.
My relevant settings in mister.ini:
Code: Select all
vscale_mode=0
video_mode=0
[GBA2P]
vscale_border=200
If my math is right, two GBA windows (240x160) side by side should have a total native resolution of 480x160. This should evenly scale 2x up to 960x320. Using the formula from this thread:
Code: Select all
(video_mode resolution - target resolution)/2 = vscale_border setting
(720 - 320)/2 = 200
I arrive at vscale_border=200. However, it's clearly not achieving the expected results for some reason.
Does anyone have any ideas? It's almost as if the vertical resolution the core is producing in horizontal splitscreen is actually different than 160, but I'm not sure what else it would be.
Interestingly, in vertical splitscreen mode, I have no problem getting shimmer-free 2x integer scaling with vscale_border=40, using the same methodology.
Lastly, I should note the same problem occurs in the Gameboy2P core when I manually try to do 4x (vscale_border=72), but oddly 3x (vscale_border=144) works perfectly. Maybe it's related?