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

Function gsReset

pcsx2/GS.cpp:23–29  ·  view source on GitHub ↗

Make sure framelimiter options are in sync with GS capabilities.

Source from the content-addressed store, hash-verified

21
22// Make sure framelimiter options are in sync with GS capabilities.
23void gsReset()
24{
25 MTGS::ResetGS(true);
26 gsVideoMode = GS_VideoMode::Uninitialized;
27 std::memset(g_RealGSMem, 0, sizeof(g_RealGSMem));
28 UpdateVSyncRate(true);
29}
30
31static __fi void gsCSRwrite( const tGS_CSR& csr )
32{

Callers 1

hwResetFunction · 0.85

Calls 1

UpdateVSyncRateFunction · 0.85

Tested by

no test coverage detected