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

Function IsProgressiveVideoMode

pcsx2/Counters.cpp:52–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52static bool IsProgressiveVideoMode()
53{
54 // The FIELD register only flips if the CMOD field in SMODE1 is set to anything but 0 and Front Porch bottom bit in SYNCV is set.
55 // Also see "isReallyInterlaced()" in GSState.cpp
56 return !(*(u32*)PS2GS_BASE(GS_SYNCV) & 0x1) || !(*(u32*)PS2GS_BASE(GS_SMODE1) & 0x6000);
57}
58
59void rcntReset(int index)
60{

Callers 4

vSyncInfoCalcFunction · 0.85
ReportInterlaceModeFunction · 0.85
GetVerticalFrequencyFunction · 0.85
GSVSyncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected