summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/sunplus_gcm394.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2020-04-06 03:52:34 +1000
committer Vas Crabb <vas@vastheman.com>2020-04-06 03:52:34 +1000
commitc3da4c5b4bc8cffcd481ea06dfbc56b8e9689a87 (patch)
treee00fd7b3267dea5c700ecca2d9b5895668a95264 /src/devices/machine/sunplus_gcm394.cpp
parentf72d38f677b9365f6d0871a613aedf0ac90dcbf2 (diff)
parentc5c5723b9d5c19220825eaaebf4eb12e2f452a7a (diff)
Merge tag 'mame0220' into mainline-master
MAME 0.220
Diffstat (limited to 'src/devices/machine/sunplus_gcm394.cpp')
-rw-r--r--src/devices/machine/sunplus_gcm394.cpp13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/devices/machine/sunplus_gcm394.cpp b/src/devices/machine/sunplus_gcm394.cpp
index ceef80a6776..303d334d221 100644
--- a/src/devices/machine/sunplus_gcm394.cpp
+++ b/src/devices/machine/sunplus_gcm394.cpp
@@ -10,12 +10,11 @@
#include "sunplus_gcm394.h"
-
-#define LOG_GCM394_SPI (1U << 4)
-#define LOG_GCM394_IO (1U << 3)
-#define LOG_GCM394_SYSDMA (1U << 2)
-#define LOG_GCM394 (1U << 1)
-#define LOG_GCM394_UNMAPPED (1U << 0)
+#define LOG_GCM394_SPI (1U << 5)
+#define LOG_GCM394_IO (1U << 4)
+#define LOG_GCM394_SYSDMA (1U << 3)
+#define LOG_GCM394 (1U << 2)
+#define LOG_GCM394_UNMAPPED (1U << 1)
#define VERBOSE (LOG_GCM394 | LOG_GCM394_UNMAPPED | LOG_GCM394_SYSDMA)
#include "logmacro.h"
@@ -124,7 +123,7 @@ READ16_MEMBER(sunplus_gcm394_base_device::system_dma_status_r)
// bit 0 = channel 0 ready
// bit 1 = channel 1 ready
- return 0x00FF;
+ return 0x00ff;
}
void sunplus_gcm394_base_device::trigger_systemm_dma(address_space &space, int channel)