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

Function NextFrameNo

common/ReadbackSpinManager.cpp:82–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82static u32 NextFrameNo(u32 frame, size_t total_frames)
83{
84 u32 next_frame = frame + 1;
85 if (next_frame >= total_frames)
86 next_frame = 0;
87 return next_frame;
88}
89
90void ReadbackSpinManager::ReadbackRequested()
91{

Callers 2

NextFrameMethod · 0.85
DrawSubmittedMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected