summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/t10spc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/t10spc.cpp')
-rw-r--r--src/devices/machine/t10spc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/machine/t10spc.cpp b/src/devices/machine/t10spc.cpp
index 30dd6d5fa05..e5f636edf74 100644
--- a/src/devices/machine/t10spc.cpp
+++ b/src/devices/machine/t10spc.cpp
@@ -97,7 +97,7 @@ void t10spc::ReadData( uint8_t *data, int dataLength )
if (command[4] == 0)
{
data[0] = m_sense_asc & 0x7f;
- put_u24be(&data[1], m_sense_information);
+ put_u24be(&data[1], m_sense_information & 0x1fffff);
}
else
{