Fix log messages and only log error by default

This commit is contained in:
Frank Palazzolo 2020-05-20 13:21:08 -04:00
parent b6c5f7c9da
commit ef1273bd4a
2 changed files with 7 additions and 4 deletions

View File

@ -3,7 +3,7 @@
#include "emu.h"
#include "tms36xx.h"
#define VERBOSE 1
//#define VERBOSE 1
#include "logmacro.h"

View File

@ -11,6 +11,9 @@
#include "emu.h"
#include "audio/pleiads.h"
//#define VERBOSE 1
#include "logmacro.h"
#define VMIN 0
#define VMAX 32767
@ -575,7 +578,7 @@ void pleiads_sound_device::control_a_w(uint8_t data)
if (data == m_sound_latch_a)
return;
logerror("pleiads_sound_control_b_w $%02x\n", data);
LOG("pleiads_sound_control_a_w $%02x\n", data);
m_channel->update();
m_sound_latch_a = data;
@ -594,7 +597,7 @@ void pleiads_sound_device::control_b_w(uint8_t data)
if (data == m_sound_latch_b)
return;
logerror("pleiads_sound_control_b_w $%02x\n", data);
LOG("pleiads_sound_control_b_w $%02x\n", data);
if (pitch == 3)
pitch = 2; /* 2 and 3 are the same */
@ -611,7 +614,7 @@ void pleiads_sound_device::control_c_w(uint8_t data)
if (data == m_sound_latch_c)
return;
logerror("pleiads_sound_control_c_w $%02x\n", data);
LOG("pleiads_sound_control_c_w $%02x\n", data);
m_channel->update();
m_sound_latch_c = data;
}