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

Function PrevFrameNo

common/ReadbackSpinManager.cpp:74–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74static u32 PrevFrameNo(u32 frame, size_t total_frames)
75{
76 s32 prev_frame = frame - 1;
77 if (prev_frame < 0)
78 prev_frame = total_frames - 1;
79 return prev_frame;
80}
81
82static u32 NextFrameNo(u32 frame, size_t total_frames)
83{

Callers 2

NextFrameMethod · 0.85
DrawSubmittedMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected