sega_315_5338a_device: Fix include order, use logmacro.h for logging

This commit is contained in:
Dirk Best 2018-04-08 18:07:47 +02:00
parent 7aa3ffe04d
commit 6087a15edb

View File

@ -8,15 +8,11 @@
***************************************************************************/ ***************************************************************************/
#include "315-5338a.h"
#include "emu.h" #include "emu.h"
#include "315-5338a.h"
//#define VERBOSE 1
//************************************************************************** #include "logmacro.h"
// CONSTANTS/MACROS
//**************************************************************************
#define VERBOSE 0
//************************************************************************** //**************************************************************************
@ -95,16 +91,14 @@ READ8_MEMBER( sega_315_5338a_device::read )
case 0x0f: data = m_out; case 0x0f: data = m_out;
} }
if (VERBOSE) LOG("RD %02x = %02x\n", offset, data);
logerror("RD %02x = %02x\n", offset, data);
return data; return data;
} }
WRITE8_MEMBER( sega_315_5338a_device::write ) WRITE8_MEMBER( sega_315_5338a_device::write )
{ {
if (VERBOSE) LOG("WR %02x = %02x\n", offset, data);
logerror("WR %02x = %02x\n", offset, data);
switch (offset) switch (offset)
{ {