Skip to content

Commit

Permalink
riscos: Fix YDPI of RISC OS 3.5-style sprite modes
Browse files Browse the repository at this point in the history
  • Loading branch information
ccawley2011 committed Nov 17, 2019
1 parent 56bb720 commit 095cef4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/riscos/SDL_riscosvideo.c
Expand Up @@ -61,7 +61,7 @@ static void RISCOS_UnlockHWSurface(_THIS, SDL_Surface *surface);
static void RISCOS_FreeHWSurface(_THIS, SDL_Surface *surface);

#define MODE_350(type, xdpi, ydpi) \
(1 | (xdpi << 1) | (ydpi << 13) | (type << 27))
(1 | (xdpi << 1) | (ydpi << 14) | (type << 27))
#define MODE_521(type, xeig, yeig, flags) \
(0x78000001 | (xeig << 4) | (yeig << 6) | (flags & 0xFF00) | (type << 20))

Expand Down

0 comments on commit 095cef4

Please sign in to comment.