benilla-re systems structs docs

CompareRefreshRates

function · ui · primitive

Address
0x48c240 · 33 bytes, up to 0x48c260
Signature
int __cdecl (const int *a, const int *b)
Meaning
Orders two refresh rates ascending for the qsort of GetRefreshRates
Confidence
verified, proof one
Finding
ui/videoverbs#the-refresh-rates

Finding: The refresh rates in ui: the video option verbs

GetRefreshRates([n]) selects the list entry n−1 by the same rule as SetScreenResolution, with entry 0 for a missing n, and returns the refresh rates of the display modes of that size, ascending with equal neighbours merged, as numbers. An index equal to or past the count returns no value at all. It does not filter by the rates the gxRefresh option accepts.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 0

None by a direct call or jump.

Calls and jumps by a bare address, from tables/calls.tsv.