summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/68340sim.cpp
diff options
context:
space:
mode:
author MooglyGuy <MooglyGuy@users.noreply.github.com>2023-05-23 07:41:27 +0200
committer GitHub <noreply@github.com>2023-05-23 15:41:27 +1000
commitc5a978bca7601f4dd2c4a0ebe397275021eb6cb1 (patch)
treeca922a9e77517f13b0d68666ad23b43d0d95b6e9 /src/devices/machine/68340sim.cpp
parentaee8c4f3efe73dcf48438471be8c293192c7f73a (diff)
Cleaned up logging across the codebase (GitHub #10183). (#11250) [Ryan Holtz]
* Converted various logging patterns to use logmacro.h consistently. * Removed redefinitions of LOG_GENERAL. * Use LOGMASKED in more places.
Diffstat (limited to 'src/devices/machine/68340sim.cpp')
-rw-r--r--src/devices/machine/68340sim.cpp20
1 files changed, 9 insertions, 11 deletions
diff --git a/src/devices/machine/68340sim.cpp b/src/devices/machine/68340sim.cpp
index 373de8c9bb8..82b4f0d8ceb 100644
--- a/src/devices/machine/68340sim.cpp
+++ b/src/devices/machine/68340sim.cpp
@@ -9,23 +9,21 @@
// MACROS / CONSTANTS
//**************************************************************************
-//#define LOG_GENERAL (1U << 0) // Already defined in logmacro.h
-#define LOG_SETUP (1U << 1)
-#define LOG_READ (1U << 2)
-#define LOG_PORTS (1U << 3)
-#define LOG_SIM (1U << 4)
-#define LOG_CLOCK (1U << 5)
-#define LOG_DATA (1U << 6)
-#define LOG_INT (1U << 7)
-#define LOG_PIT (1U << 8)
-#define LOG_CS (1U << 9)
+#define LOG_SETUP (1U << 1)
+#define LOG_READ (1U << 2)
+#define LOG_PORTS (1U << 3)
+#define LOG_SIM (1U << 4)
+#define LOG_CLOCK (1U << 5)
+#define LOG_DATA (1U << 6)
+#define LOG_INT (1U << 7)
+#define LOG_PIT (1U << 8)
+#define LOG_CS (1U << 9)
#define VERBOSE (LOG_PIT)
#define LOG_OUTPUT_FUNC printf // Needs always to be enabled as the default value 'logerror' is not available here
#include "logmacro.h"
-//#define LOG(...) LOGMASKED(LOG_GENERAL, __VA_ARGS__) // Already defined in logmacro.h
#define LOGSETUP(...) LOGMASKED(LOG_SETUP, __VA_ARGS__)
#define LOGR(...) LOGMASKED(LOG_READ, __VA_ARGS__)
#define LOGPORTS(...) LOGMASKED(LOG_PORTS, __VA_ARGS__)