libretro / libretro/RetroArch

OGA Video Driver Displays GBA Content at the wrong resolution.

Open
#10,955 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
14.1k
Forks
2.2k
Avg merge
7h 35m
Merged PRs (30d)
51

Description

Description

Video Driver oga is displaying GBA content in the mGBA core at the wrong resolution.

Expected behavior

GBA should display at 240 × 160 or an integer of that resolution as it does when using the video driver gl.
Super Mario Advance 4 - Super Mario Bros  3 (USA)-200702-212321

Actual behavior

GBA content is being displayed at a resolution of 480 × 300 and does not scale.
Super Mario Advance 4 - Super Mario Bros  3 (USA)-200702-212224

Steps to reproduce the bug
  1. Load a GBA game with the mGBA core using oga driver and check resolution and scaling.
  2. Load a GBA game with the mGBA core using gl driver and check resolution and scaling.
Version/Commit

You can find this information under Information/System Information

  • RetroArch: 1.8.9 (Jul 1 2020)
Environment information
  • OS: Void Linux - RetroRoller Distro from @valadaa48
  • Compiler: GCC (9.3.0) 64-bit

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the mGBA GBA display with the oga and gl video drivers on RetroArch 1.8.9, comparing the reported scaling and resolution. Trace the oga video-driver entry point and compare it with gl; done means GBA content displays at 240×160 or an integer multiple without the 480×300 scaling issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
computer-graphics
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.