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