REDIVIVUS

Proposals / #1607

Mac MACDISPLAY_SelectDriver: bool __cdecl (int32_t nDriverType)

checked · by KierTaylor · submitted 2026-11-08

There is one cdecl stack arg. It shuts the current driver down (CALL [table+0x38] at 0x00036d2a) and resets to the default table. [EBP+8] -> EDX selects the driver: 3 runs the init hook; 0 installs the default table and runs it; any other value fails. It returns MOVZX EAX,CL (1 on success, 0 otherwise). Caller: FUN_0019cc81.

Changes 1, applied together

  1. Set prototype mac 0x00036d19

    signatureundefined MACDISPLAY_SelectDriver(void)→bool MACDISPLAY_SelectDriver(int32_t nDriverType)
    conventionunknown→__cdecl