spiritualized1997 / openFPGA-GG

Sega Game Gear core for openFPGA on Analogue Pocket
201 stars 4 forks source link

Games don't run in original aspect ratio #1

Open brendanseattle opened 1 year ago

brendanseattle commented 1 year ago

I absolutely love and admire the work, so I feel bad about opening an issue. But I'd like to bring it up!

Original Game Gear doesn't have square pixels, so although it has the same resolution as the GameBoy, the display aspect ratio is different. Analogue's Game Gear adapter accounts for this and puts black borders on the top and bottom of the game screen, preserving the correct aspect ratio.

Can we get this implemented in the openFPGA-GG core? Would be absolutely stellar! Thank you!

mbaran5 commented 1 year ago

You can adjust video.json to achieve this in the interim. Adjust the scaler mode for the 160x144 resolution to match below, and you'll have the image displayed in 4:3 like the original console and like cart adapters have.

"scaler_modes": [
            {
                "width": 160,
                "height": 144,
                "aspect_w": 4,
                "aspect_h": 3,
                "rotation": 0,
                "mirror": 0
            },
brendanseattle commented 1 year ago

you are a saint, thank you for the tip!

HeyItsLollie commented 1 year ago

This aspect ratio issue is still present as of v1.3.0. @spiritualized1997?