SDL_HINT_PS2_GS_MODE(3)

πŸ“¦
version 3.4.18 Β· 5 versions
, in fedora 43, fedora 44

πŸŽ€ SDL_HINT_PS2_GS_MODE πŸŽ€

okay bestie, welcome to the SDL3 FUNCTIONS manual, and today's main character is a little hint called SDL_HINT_PS2_GS_MODE. she's the one who decides what video mode your PS2 console is serving. yes, literally the whole vibe of the screen. let's get into it πŸ’…


✨ NAME ✨

SDL_HINT_PS2_GS_MODE β€” a variable controlling the video mode of the console. that's it, that's her job, and she eats every time 🫢


🌸 SYNOPSIS 🌸

#include <SDL3/SDL_hints.h>

#define SDL_HINT_PS2_GS_MODE    "SDL_PS2_GS_MODE"

so you pull in the header, and the hint itself is defined as the string "SDL_PS2_GS_MODE". copy it exactly, no cap, don't freestyle the spelling πŸ”₯


πŸ¦‹ DESCRIPTION πŸ¦‹

you can set this variable to the following values, and each one is giving a completely different energy:

  • "" β€” Console-native. this is the default, so if you say nothing at all, this is what you get. the silent, unbothered icon πŸ‘‘
  • "NTSC" β€” 60hz region. smooth, fast, main character refresh rate ⭐
  • "PAL" β€” 50hz region. slower, cozier, still iconic in her own way 🌸
not me having to say this but: those values are exact. "", "NTSC", "PAL". case matters, quotes matter, everything matters. periodt πŸ’€

🌈 AVAILABILITY 🌈

this hint is available since SDL 3.4.0. so if you're on something older, she simply does not exist for you yet, and that's the vibe check πŸ™ˆ


and that's the whole page, bestie!! this came to you straight from the Simple Directmedia Layer crew, version SDL 3.4.18, under the title SDL_HINT_PS2_GS_MODE(3). go forth and set your video mode, ily, bye πŸ’–βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from