comparison src/video/nds/SDL_ndsvideo.c @ 3977:722db1bd733c SDL-1.2

Oops, 512x512 in 16 bit mode
author Sam Lantinga <slouken@libsdl.org>
date Mon, 25 Jun 2007 14:58:22 +0000
parents 8582c6a5ca16
children a1b03ba2fcd0
comparison
equal deleted inserted replaced
3976:8582c6a5ca16 3977:722db1bd733c
329 current->pixels = backBuffer; 329 current->pixels = backBuffer;
330 } 330 }
331 if(bpp==8) 331 if(bpp==8)
332 current->pitch =1024; 332 current->pitch =1024;
333 else 333 else
334 current->pitch =1024*2; 334 current->pitch =512*2;
335 335
336 /* We're done */ 336 /* We're done */
337 return(current); 337 return(current);
338 } 338 }
339 339