libretro / libretro/RetroArch

[FEATURE REQUEST] Upon activate "TATE mode" (rotated screen) on MAME also flip the screen WIDTH x HEIGHT to reflect the change

Open
#11,279 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

EDITED TOPIC:

Description

There is a awesome and useful setting called TATE MODE on MAME cores. If you have a screen capable of rotation (vertical/horizontal) you can enjoy the shooting games on its full glory. IMPORTANT: using scaling as CUSTOM, INTEGER ON and sizes of 3X to have pixel perfect screen.

Expected behavior

When you load a MAME title, no matter what MAME core you use, you can call the in-game menu, go to OPTIONS and toggle the TATE MODE, so it will rotate your screen vertically, but — the issue — it rotates the display itself but does not "flip" the WIDTH and HEIGHT sizes, so, you need to go all way back to VIDEO > SCALING and change the values there.

Actual behavior

The FLIP the WIDTH x HEIGHT when TATE is enabled are not rotated/flipped. It could be wonderful to have it automatically changed, so, you don't need to manually modify the values...

Steps to reproduce the bug
  1. Set your video as INTEGER ON, CUSTOM and sizes 3X.
  2. Load a mame game you want to play vertically
  3. Go to options
  4. Turn on the TATE option
  5. Check the game, it will be rotated, but distorted (WIDTH x HEIGHT have not being "flipped")

And, upon creating a game options file exclusive for the game being played, these options should also save the new WIDTH X HEIGHT because TATE is ON. When you turn TATE off, the width and height flip again to the previous instance before messing with TATE. (Sorry for my poor English).

Version/Commit

Any version as 1.8.4, 1.8.5 and 1.9.0

Environment information

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

The issue names no source files or tests. Start by reproducing the behavior through the in-game OPTIONS menu with TATE enabled and VIDEO > SCALING set to CUSTOM and INTEGER; trace the MAME option and game options file handling. Done means width and height swap when TATE is toggled, persist in the game options file, and restore when TATE is disabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.