riscos: Fix receiving PreQuit messages SDL-1.2
authorCameron Cawley
Fri, 26 Apr 2019 20:18:20 +0100
branchSDL-1.2
changeset 12780395d43be372d
parent 12779 8f5a01f3a9bd
child 12781 46ee0c51a81b
riscos: Fix receiving PreQuit messages
src/video/riscos/SDL_riscostask.c
     1.1 --- a/src/video/riscos/SDL_riscostask.c	Fri Apr 26 17:34:41 2019 +0100
     1.2 +++ b/src/video/riscos/SDL_riscostask.c	Fri Apr 26 20:18:20 2019 +0100
     1.3 @@ -101,8 +101,8 @@
     1.4     messages[0] = 9;       /* Palette changed */
     1.5     messages[1] = 0x400c1; /* Mode changed */
     1.6     messages[2] = 8;       /* Pre quit */
     1.7 -   messages[2] = 0;
     1.8 -   
     1.9 +   messages[3] = 0;
    1.10 +
    1.11  	regs.r[0] = (unsigned int)360; /* Minimum version 3.6 */
    1.12  	regs.r[1] = (unsigned int)0x4b534154;
    1.13  	regs.r[2] = (unsigned int)task_name;