From c74cacfb69c0371df3b324a76aef30c27e22f872 Mon Sep 17 00:00:00 2001 From: AJR Date: Sat, 9 Mar 2024 09:12:01 -0500 Subject: t10spc.cpp: Fix minor error in previous refactoring --- src/devices/machine/t10spc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- cgit v1.2.3