Oops, 512x512 in 16 bit mode

--HG--
branch : SDL-1.2
This commit is contained in:
Sam Lantinga
2007-06-25 14:58:22 +00:00
parent ddcda50469
commit abf879e37b

View File

@@ -331,7 +331,7 @@ SDL_Surface *NDS_SetVideoMode(_THIS, SDL_Surface *current,
if(bpp==8)
current->pitch =1024;
else
current->pitch =1024*2;
current->pitch =512*2;
/* We're done */
return(current);