diff src/video/nds/SDL_ndsrender.c @ 2683:e858ac8868b6 gsoc2008_nds

Ongoing video render work; initial work on NDS Timers.
author Darren Alton <dalton@stevens.edu>
date Fri, 08 Aug 2008 08:22:08 +0000
parents f7594fc66bda
children 2190b873ff00
line wrap: on
line diff
--- a/src/video/nds/SDL_ndsrender.c	Sat Jul 26 05:52:59 2008 +0000
+++ b/src/video/nds/SDL_ndsrender.c	Fri Aug 08 08:22:08 2008 +0000
@@ -460,7 +460,7 @@
     if (SDL_ISPIXELFORMAT_FOURCC(texture->format)) {
         SDL_SetError("Unsupported texture format");
     }
-printf("!NDS_UnlockTexture\n");
+printf("+NDS_UnlockTexture\n-NDS_UnlockTexture\n");
 }
 
 static void
@@ -502,9 +502,9 @@
 //    SDL_VideoDisplay *display = SDL_GetDisplayFromWindow(window);
     int i;
 printf("+NDS_RenderCopy\n");
-    for(i = 0; i <= 0xFFFF; ++i) {
+    /*for(i = 0; i <= 0xFFFF; ++i) {
         txdat->vram[i] = 0x8000|i;
-    }
+    }*/
     printf("/txdat->hw_index = %d\n", txdat->hw_index);
 #if 0
     if (txdat->dirty.list) {