summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/sh2/sh2comn.cpp
diff options
context:
space:
mode:
author Angelo Salese <angelosa@users.noreply.github.com>2016-09-28 12:33:09 +0200
committer GitHub <noreply@github.com>2016-09-28 12:33:09 +0200
commit4727ff5e6a1e0aaa1d2b146b819250a6a83e8448 (patch)
tree39a33a02533c5a7c62423f8fc2dfe4fc893aecf0 /src/devices/cpu/sh2/sh2comn.cpp
parent4d462536c7092f2b9775384d9da34905edf4d9c3 (diff)
parent7465cdc2f9e4ad61e701ba89f2a894dbdff283dd (diff)
SH-2: added read-back for BCR1 register, fixing missing polygons in Daytona USA CE for Saturn [Mednafen, Angelo Salese]
Added stub bus/sci/wdt devices for sh7604, this part will require more work as h8 and sh2 shares same chips, damn
Diffstat (limited to 'src/devices/cpu/sh2/sh2comn.cpp')
-rw-r--r--src/devices/cpu/sh2/sh2comn.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/sh2/sh2comn.cpp b/src/devices/cpu/sh2/sh2comn.cpp
index 2fbeff0fa9d..b5d8e43aaa3 100644
--- a/src/devices/cpu/sh2/sh2comn.cpp
+++ b/src/devices/cpu/sh2/sh2comn.cpp
@@ -725,7 +725,7 @@ READ32_MEMBER( sh2_device::sh7604_r )
return (m_m[0x38] & 0x7fffffff) | (m_nmi_line_state == ASSERT_LINE ? 0 : 0x80000000);
case 0x78: // BCR1
- return m_is_slave ? 0x00008000 : 0;
+ return (m_is_slave ? 0x00008000 : 0) | (m_m[0x78] & 0x7fff);
case 0x41: // dvdntl mirrors
case 0x47: