mirror of
https://github.com/holub/mame
synced 2025-07-03 00:56:03 +03:00
sega_315_5338a_device: Fix include order, use logmacro.h for logging
This commit is contained in:
parent
7aa3ffe04d
commit
6087a15edb
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user