MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / getCurrentHalfLine

Function getCurrentHalfLine

src/dolphin/src/vi/vi.c:946–952  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

944}
945
946inline u32 getCurrentHalfLine(void)
947{
948 u32 hcount, vcount;
949 GetCurrentDisplayPosition(&hcount, &vcount);
950
951 return ((vcount - 1) << 1) + ((hcount - 1) / CurrTiming->hlw);
952}
953
954static u32 getCurrentFieldEvenOdd()
955{

Callers 2

getCurrentFieldEvenOddFunction · 0.85
VIGetCurrentLineFunction · 0.85

Calls 1

Tested by

no test coverage detected