mirror of
https://github.com/holub/mame
synced 2025-04-19 07:00:31 +03:00
Added :
#define <driver>_DEBUG 0 Changed : #ifdef MAME_DEBUG to : #if <driver>_DEBUG Debug code/keys/comments not removed though ...
This commit is contained in:
parent
1d2106f417
commit
1b206a9fa2
@ -48,6 +48,8 @@ Notes:
|
||||
#include "driver.h"
|
||||
#include "cpu/h83002/h83002.h"
|
||||
|
||||
#define BISHJAN_DEBUG 0
|
||||
|
||||
/***************************************************************************
|
||||
Video Hardware
|
||||
***************************************************************************/
|
||||
@ -89,7 +91,7 @@ static VIDEO_UPDATE( bishjan )
|
||||
int scroll2_x = ((bishjan_scroll[2] & 0x0f)<<8) | (bishjan_scroll[1] & 0xff);
|
||||
int scroll2_y = ((bishjan_scroll[2] & 0xf0)<<4) | (bishjan_scroll[2] >> 8);
|
||||
|
||||
#ifdef MAME_DEBUG
|
||||
#if BISHJAN_DEBUG
|
||||
if (input_code_pressed(KEYCODE_Z))
|
||||
{
|
||||
int msk = 0;
|
||||
|
@ -58,6 +58,8 @@ To do:
|
||||
#include "machine/eeprom.h"
|
||||
#include "sound/okim6295.h"
|
||||
|
||||
#define DARKHORS_DEBUG 0
|
||||
|
||||
/***************************************************************************
|
||||
|
||||
|
||||
@ -151,7 +153,7 @@ static VIDEO_UPDATE( darkhors )
|
||||
{
|
||||
int layers_ctrl = -1;
|
||||
|
||||
#ifdef MAME_DEBUG
|
||||
#if DARKHORS_DEBUG
|
||||
if (input_code_pressed(KEYCODE_Z))
|
||||
{
|
||||
int mask = 0;
|
||||
@ -174,7 +176,7 @@ static VIDEO_UPDATE( darkhors )
|
||||
|
||||
if (layers_ctrl & 4) draw_sprites(machine,bitmap,cliprect);
|
||||
|
||||
#ifdef MAME_DEBUG
|
||||
#if DARKHORS_DEBUG
|
||||
#if 0
|
||||
popmessage("%04X-%04X %04X-%04X %04X-%04X %04X-%04X %04X-%04X %04X-%04X",
|
||||
darkhors_tmapscroll[0] >> 16, darkhors_tmapscroll[0] & 0xffff,
|
||||
|
@ -54,6 +54,8 @@ Notes:
|
||||
#include "sound/okim6295.h"
|
||||
#include "sound/2413intf.h"
|
||||
|
||||
#define DUNHUANG_DEBUG 0
|
||||
|
||||
/***************************************************************************
|
||||
Video Hardware
|
||||
***************************************************************************/
|
||||
@ -113,7 +115,7 @@ static VIDEO_UPDATE( dunhuang )
|
||||
{
|
||||
int layers_ctrl = -1;
|
||||
|
||||
#ifdef MAME_DEBUG
|
||||
#if DUNHUANG_DEBUG
|
||||
if (input_code_pressed(KEYCODE_Z))
|
||||
{
|
||||
int msk = 0;
|
||||
|
@ -49,6 +49,8 @@
|
||||
#include "sound/ymz280b.h"
|
||||
#include "machine/eeprom.h"
|
||||
|
||||
#define MIDAS_DEBUG 0
|
||||
|
||||
static UINT16 *livequiz_gfxram, *livequiz_gfxregs;
|
||||
|
||||
static VIDEO_START( livequiz );
|
||||
@ -158,7 +160,7 @@ static VIDEO_UPDATE( livequiz )
|
||||
{
|
||||
int layers_ctrl = -1;
|
||||
|
||||
#ifdef MAME_DEBUG
|
||||
#if MIDAS_DEBUG
|
||||
if ( input_code_pressed(KEYCODE_Z) )
|
||||
{
|
||||
int msk = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user