From f169febc70f4043a3fce658d6006e256e47b5b9f 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 --- 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);