summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/m2comm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/m2comm.cpp')
-rw-r--r--src/mame/machine/m2comm.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/machine/m2comm.cpp b/src/mame/machine/m2comm.cpp
index 4b3f4dbe3c3..92756c75806 100644
--- a/src/mame/machine/m2comm.cpp
+++ b/src/mame/machine/m2comm.cpp
@@ -328,7 +328,7 @@ void m2comm_device::comm_init()
{
// TODO - check EPR-16726 on Daytona USA and Sega Rally Championship
// EPR-18643(A) - these are accessed by VirtuaON and Sega Touring Car Championship
-
+
// frameSize - 0xe00
m_shared[0x12] = 0x00;
m_shared[0x13] = 0x0e;
@@ -343,10 +343,10 @@ void m2comm_device::comm_tick()
if (m_linkenable == 0x01)
{
m_zfg ^= 1;
-
+
int frameSize = m_shared[0x13] << 8 | m_shared[0x12];
int frameOffset = m_shared[0x15] << 8 | m_shared[0x14];
-
+
int dataSize = frameSize + 1;
int togo = 0;
int recv = 0;