SDL_HINT_VITA_PVR_INIT(3)

πŸ’– SDL_HINT_VITA_PVR_INIT πŸ’–

okay bestie, so this is a page from the SDL3 FUNCTIONS manual, and today's main character is SDL_HINT_VITA_PVR_INIT β€” a lil variable that controls whether to perform PVR initialization on the PlayStation Vita. yes, the Vita. she lives. πŸŽ€


✨ NAME ✨

SDL_HINT_VITA_PVR_INIT β€” a variable controlling whether to perform PVR initialization on the PlayStation Vita πŸ¦‹


🌸 SYNOPSIS 🌸

#include <SDL3/SDL_hints.h>

#define SDL_HINT_VITA_PVR_INIT "SDL_VITA_PVR_INIT"

like, that's the whole vibe. include the header, and the hint macro literally is the string "SDL_VITA_PVR_INIT". iykyk πŸ’…


πŸ’œ DESCRIPTION πŸ’œ

so here's the tea, the hint takes these values and they do different things:

  • "0" β€” skip PVR initialization. no PVR for you, bye πŸ™ˆ
  • "1" β€” perform the normal PVR initialization. this one is the default, so if you say nothing, this is what you get ✨
🫢 real talk though: this hint should be set before SDL is initialized. like, before. not during, not after, not "oops i forgot". before. periodt.

🌈 AVAILABILITY 🌈

this hint is available since SDL 3.2.0 β€” so if you're on anything older, bestie, she is not there for you 😭


that's the whole page, no cap. go forth and init your PVR (or don't, "0" is right there πŸ’€) πŸ‘‘

Simple Directmedia Layer β€” SDL 3.4.18 β€” SDL_HINT_VITA_PVR_INIT(3) πŸ§šβ€β™€οΈπŸ’–

πŸ“¦ where this page comes from