SDL_HINT_VITA_RESOLUTION(3)
π SDL_HINT_VITA_RESOLUTION π
okay bestie, welcome to the SDL3 FUNCTIONS corner of the manual, where we're talking about SDL_HINT_VITA_RESOLUTION β and yes she is exactly what she sounds like π
β¨ NAME β¨
SDL_HINT_VITA_RESOLUTION β a variable that overrides the resolution reported on the PlayStation Vita π
like. it just. changes what the Vita says its screen is. that's the whole job. iconic behavior honestly π
πΈ SYNOPSIS πΈ
#include <SDL3/SDL_hints.h>
#define SDL_HINT_VITA_RESOLUTION "SDL_VITA_RESOLUTION"
copy that exactly, no cap, character for character π«Ά
π DESCRIPTION π
so this variable can be set to the following values, and I need you to read them carefully because the numbers are doing a little bit of a thing:
"544"β 544p, and this one is the default β¨"720"β 725p for PSTV π"1080"β 1088i for PSTV π
yes bestie, I typed those exactly right. "720" gives you 725p and "1080" gives you 1088i. that's not me being silly, that's literally what the page says. iykyk π
important timing check: this hint should be set before SDL is initialized. so like, set it early, set it first, set it before anything else gets a chance to happen. not me showing up late to the resolution party π
π¦ AVAILABILITY π¦
this hint has been available since SDL 3.2.0 β
so if you're on something older, she's not there yet, no hard feelings πΈ
Simple Directmedia Layer Β· SDL 3.4.18 Β· SDL_HINT_VITA_RESOLUTION(3)
and that's the whole page, bestie π go forth, set your hint before init, and slay your Vita resolution πβ¨π¦ periodt
π¦ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms