From abf879e37b670e4b24deab95bba1b9de9508c12d Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 25 Jun 2007 14:58:22 +0000 Subject: [PATCH] Oops, 512x512 in 16 bit mode --HG-- branch : SDL-1.2 --- src/video/nds/SDL_ndsvideo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/nds/SDL_ndsvideo.c b/src/video/nds/SDL_ndsvideo.c index 2673a98bd..1bdbb1adb 100644 --- a/src/video/nds/SDL_ndsvideo.c +++ b/src/video/nds/SDL_ndsvideo.c @@ -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);