diff options
author | stephh <stephh@users.noreply.github.com> | 2008-01-16 16:28:37 +0000 |
---|---|---|
committer | stephh <stephh@users.noreply.github.com> | 2008-01-16 16:28:37 +0000 |
commit | 210375bc1928f0ad5f8fba4da14d8acd1cbe77c3 (patch) | |
tree | a3c2497f5726f9fce7000652a505a5422fc5b19f | |
parent | 907d9df8f1c166a4700499b0ac33ee6b230ec48d (diff) |
First SVN commit ...
Added :
#define NYCAPTOR_DEBUG 0
Changed :
#ifdef MAME_DEBUG
to :
#if NYCAPTOR_DEBUG
Debug code/keys/comments not removed though ...
-rw-r--r-- | src/mame/video/nycaptor.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/mame/video/nycaptor.c b/src/mame/video/nycaptor.c index ce30a95b1c8..c1ef8d7bc99 100644 --- a/src/mame/video/nycaptor.c +++ b/src/mame/video/nycaptor.c @@ -7,7 +7,9 @@ ***************************************************************************/ #include "driver.h" -#ifdef MAME_DEBUG +#define NYCAPTOR_DEBUG 0 + +#if NYCAPTOR_DEBUG static int nycaptor_mask=0; #endif @@ -52,7 +54,7 @@ static TILE_GET_INFO( get_tile_info ) if((!nycaptor_spot())&&(pal==6))tileinfo->group=1; if(((nycaptor_spot()==3)&&(pal==8))||((nycaptor_spot()==1)&&(pal==0xc)))tileinfo->group=2; if((nycaptor_spot()==1)&&(tileinfo->category==2))tileinfo->group=3; -#ifdef MAME_DEBUG +#if NYCAPTOR_DEBUG if(nycaptor_mask&(1<<tileinfo->category)) { if(nycaptor_spot())pal=0xe;else pal=4; @@ -160,7 +162,7 @@ static void draw_sprites(running_machine *machine, mame_bitmap *bitmap, const re priori=(pr&0xe0)>>5; if(priori==pri) { -#ifdef MAME_DEBUG +#if NYCAPTOR_DEBUG if(nycaptor_mask&(1<<(pri+4)))pal=0xd; #endif flipx = ((nycaptor_spriteram[offs+1]&0x40)>>6); @@ -192,7 +194,7 @@ static void draw_sprites(running_machine *machine, mame_bitmap *bitmap, const re -#ifdef MAME_DEBUG +#if NYCAPTOR_DEBUG /* Keys : q/w/e/r - bg priority display select @@ -226,7 +228,7 @@ static void nycaptor_setmask(void) VIDEO_UPDATE( nycaptor ) { -#ifdef MAME_DEBUG +#if NYCAPTOR_DEBUG nycaptor_setmask(); if(nycaptor_mask&0x1000) { |