diff src/video/dummy/SDL_nullrender.c @ 2673:24a6b3588eac gsoc2008_nds

Cleaned up and added joypad support from 1.2.9 NDS port. Also some minor video driver bugfixes.
author Darren Alton <dalton@stevens.edu>
date Thu, 19 Jun 2008 07:11:35 +0000
parents c3e7c0698cbb
children
line wrap: on
line diff
--- a/src/video/dummy/SDL_nullrender.c	Tue Jun 17 08:26:36 2008 +0000
+++ b/src/video/dummy/SDL_nullrender.c	Thu Jun 19 07:11:35 2008 +0000
@@ -181,11 +181,11 @@
         SDL_SaveBMP(data->screens[data->current_screen], file);
     }
     /*{
-        int i;
-        for (i = 0; i < 256 * 192; ++i)
-            ((Uint16 *)0x6800000)[i]
-                = ((Uint16 *)(data->screens[data->current_screen]->pixels))[i];
-    }*/
+       int i;
+       for (i = 0; i < 256 * 192; ++i)
+       ((Uint16 *)0x6800000)[i]
+       = ((Uint16 *)(data->screens[data->current_screen]->pixels))[i];
+       } */
 
     /* Update the flipping chain, if any */
     if (renderer->info.flags & SDL_RENDERER_PRESENTFLIP2) {