sprite binning finished
[picodrive.git] / Pico / Pico.c
index c85c78a..268fb75 100644 (file)
@@ -1,7 +1,7 @@
-// This is part of Pico Library\r
+// PicoDrive\r
 \r
 // (c) Copyright 2004 Dave, All rights reserved.\r
-// (c) Copyright 2006 notaz, All rights reserved.\r
+// (c) Copyright 2006-2008 notaz, All rights reserved.\r
 // Free for non-commercial use.\r
 \r
 // For commercial use, separate licencing terms must be obtained.\r
@@ -218,7 +218,8 @@ PICO_INTERNAL int CheckDMA(void)
   if(Pico.video.reg[12] & 1) dma_op |= 4; // 40 cell mode?\r
   if(!(Pico.video.status&8)&&(Pico.video.reg[1]&0x40)) dma_op|=8; // active display?\r
   xfers_can = dma_timings[dma_op];\r
-  if(xfers <= xfers_can) {\r
+  if(xfers <= xfers_can)\r
+  {\r
     if(dma_op&2) Pico.video.status&=~2; // dma no longer busy\r
     else {\r
       burn = xfers * dma_bsycles[dma_op] >> 8; // have to be approximate because can't afford division..\r
@@ -307,6 +308,7 @@ PICO_INTERNAL void PicoSyncZ80(int m68k_cycles_done)
 }\r
 \r
 \r
+// TODO: rm from asm too\r
 int idle_hit_counter = 0;\r
 \r
 void PicoFrame(void)\r