riscos: Fix YDPI of RISC OS 3.5-style sprite modes SDL-1.2
authorCameron Cawley
Sun, 17 Nov 2019 22:13:45 +0000
branchSDL-1.2
changeset 13253d4d66a1891fc
parent 13240 da9d34578353
child 13396 f765d8961a16
riscos: Fix YDPI of RISC OS 3.5-style sprite modes
src/video/riscos/SDL_riscosvideo.c
     1.1 --- a/src/video/riscos/SDL_riscosvideo.c	Wed Nov 13 08:11:10 2019 +0300
     1.2 +++ b/src/video/riscos/SDL_riscosvideo.c	Sun Nov 17 22:13:45 2019 +0000
     1.3 @@ -61,7 +61,7 @@
     1.4  static void RISCOS_FreeHWSurface(_THIS, SDL_Surface *surface);
     1.5  
     1.6  #define MODE_350(type, xdpi, ydpi) \
     1.7 -	(1 | (xdpi << 1) | (ydpi << 13) | (type << 27))
     1.8 +	(1 | (xdpi << 1) | (ydpi << 14) | (type << 27))
     1.9  #define MODE_521(type, xeig, yeig, flags) \
    1.10  	(0x78000001 | (xeig << 4) | (yeig << 6) | (flags & 0xFF00) | (type << 20))
    1.11