REDIVIVUS

Proposals / #1282

Mac D2GFX_UpdateScaleFactor: void __cdecl (void)

checked · by KierTaylor · submitted 2026-11-06

The Mac body has no argument reads (no [EBP+n], no ECX/EDX use before they are written). It copies the pending scale global into the current-scale global and calls renderer slot +0x60 with it, then a plain RET. The caller ViewDraw2 0x0007cae5 calls it bare and then calls D2GFX_GetScaleFactor. Matches the Windows twin 0x004f65c0 (void (void)).

Changes 1, applied together

  1. Set prototype mac 0x002b5264

    signatureundefined D2GFX_UpdateScaleFactor(void)→void D2GFX_UpdateScaleFactor(void)
    conventionunknown→__cdecl