MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / GSgetInternalResolution

Function GSgetInternalResolution

pcsx2/GS/GS.cpp:650–663  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

648}
649
650void GSgetInternalResolution(int* width, int* height)
651{
652 GSRenderer* gs = g_gs_renderer.get();
653 if (!gs)
654 {
655 *width = 0;
656 *height = 0;
657 return;
658 }
659
660 const GSVector2i res(gs->GetInternalResolution());
661 *width = res.x;
662 *height = res.y;
663}
664
665void GSgetStats(SmallStringBase& info)
666{

Callers 3

RequestDisplaySizeMethod · 0.85

Calls 2

GetInternalResolutionMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected