lowercasing filenames, part1; makefile adjustments
[picodrive.git] / Pico / cd / gfx_cd.c
index 630109c..69d4a00 100644 (file)
@@ -5,7 +5,7 @@
 // (c) Copyright 2007, Grazvydas "notaz" Ignotas
 
 
-#include "../PicoInt.h"
+#include "../pico_int.h"
 
 #define _rot_comp Pico_mcd->rot_comp
 
@@ -77,7 +77,7 @@ static void gfx_completed(void)
        _rot_comp.Reg_64  = 0;
        if (Pico_mcd->s68k_regs[0x33] & (1<<1))
        {
-               dprintf("gfx_cd irq 1");
+               elprintf(EL_INTS, "gfx_cd irq 1");
                SekInterruptS68k(1);
        }
 }
@@ -312,7 +312,7 @@ PICO_INTERNAL void gfx_cd_update(void)
        _rot_comp.Float_Part &= 0xffff;
        _rot_comp.Float_Part += _rot_comp.Draw_Speed;
 
-       if (PicoOpt & 0x1000)                   // scale/rot enabled
+       if (PicoOpt & POPT_EN_MCD_GFX)
        {
                unsigned int func = _rot_comp.Function;
                unsigned int H_Dot = _rot_comp.Reg_62 & 0x1ff;
@@ -447,7 +447,7 @@ PICO_INTERNAL void DmaSlowCell(unsigned int source, unsigned int a, int len, uns
         // AutoIncrement
         a=(u16)(a+inc);
       }
-      rendstatus|=0x10;
+      rendstatus |= PDRAW_SPRITES_MOVED;
       break;
 
     case 3: // cram