REDIVIVUS

Proposals / #1606

Mac MACDISPLAY_Shutdown: BOOL __cdecl (void) display-driver slot

checked · by KierTaylor · submitted 2026-11-08

It reads no register or stack args. It clears the driver-active flag and two driver globals, calls the restore hook through a global pointer (0x0003695f), and returns MOV EAX,1. It is the +0x38 "shutdown" slot of the display-driver table (data ref 0x00397a18), called with no args by MACDISPLAY_SelectDriver 0x00036d2a (CALL [EAX+0x38]) before switching drivers.

Changes 1, applied together

  1. Set prototype mac 0x00036938

    signatureundefined MACDISPLAY_Shutdown(void)→BOOL MACDISPLAY_Shutdown(void)
    conventionunknown→__cdecl