diff options
author | 2020-05-20 13:21:08 -0400 | |
---|---|---|
committer | 2020-05-20 13:21:08 -0400 | |
commit | ef1273bd4a465b047e00ff0b7911714c51393fc7 (patch) | |
tree | d4ae6bdbf17ce6492cbccec1e9d586b41424c102 | |
parent | b6c5f7c9dae9c353593d165a100b20279e4f401b (diff) |
Fix log messages and only log error by default
-rw-r--r-- | src/devices/sound/tms36xx.cpp | 2 | ||||
-rw-r--r-- | src/mame/audio/pleiads.cpp | 9 |
2 files changed, 7 insertions, 4 deletions
diff --git a/src/devices/sound/tms36xx.cpp b/src/devices/sound/tms36xx.cpp index 54ec071dfa8..89211700a7d 100644 --- a/src/devices/sound/tms36xx.cpp +++ b/src/devices/sound/tms36xx.cpp @@ -3,7 +3,7 @@ #include "emu.h" #include "tms36xx.h" -#define VERBOSE 1 +//#define VERBOSE 1 #include "logmacro.h" diff --git a/src/mame/audio/pleiads.cpp b/src/mame/audio/pleiads.cpp index c89e9806f03..cb0d3c89c4f 100644 --- a/src/mame/audio/pleiads.cpp +++ b/src/mame/audio/pleiads.cpp @@ -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; } |