summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/t10mmc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/t10mmc.cpp')
-rw-r--r--src/devices/machine/t10mmc.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/machine/t10mmc.cpp b/src/devices/machine/t10mmc.cpp
index c20f29296e4..64958fa25bf 100644
--- a/src/devices/machine/t10mmc.cpp
+++ b/src/devices/machine/t10mmc.cpp
@@ -739,7 +739,7 @@ void t10mmc::ReadData( uint8_t *data, int dataLength )
data[7] = 0;
data[8] = 0x02; data[9] = 0xc0; // 4x speed
data[10] = 0;
- data[11] = 2; // two volume levels
+ data[11] = 256; // 256 volume levels
data[12] = 0x00; data[13] = 0x00; // buffer
data[14] = 0x02; data[15] = 0xc0; // 4x read speed
data[16] = 0;
@@ -797,8 +797,8 @@ void t10mmc::WriteData( uint8_t *data, int dataLength )
m_device->logerror("Ch 1 route: %x vol: %x\n", data[10], data[11]);
m_device->logerror("Ch 2 route: %x vol: %x\n", data[12], data[13]);
m_device->logerror("Ch 3 route: %x vol: %x\n", data[14], data[15]);
- m_cdda->set_output_gain(0, data[17] ? 1.0f : 0.0f);
- m_cdda->set_output_gain(1, data[19] ? 1.0f : 0.0f);
+ m_cdda->set_output_gain(0, data[17] / 255.0f);
+ m_cdda->set_output_gain(1, data[19] / 255.0f);
break;
}
break;