summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices
diff options
context:
space:
mode:
author arbee <rb6502@users.noreply.github.com>2021-12-01 19:31:08 -0500
committer arbee <rb6502@users.noreply.github.com>2021-12-01 19:31:08 -0500
commit91babd44dcdc27f2254b1db476f583e44c0d9c4c (patch)
treeb5ded8badc6fb1657d804c2a2d91521e2580d867 /src/devices
parent12b260e200ef1a0e44545d6c26ba8b2473b48bab (diff)
spi_sdcard: fix CMD8 response for SDV2/SDHC. [R. Belmont]
Diffstat (limited to 'src/devices')
-rw-r--r--src/devices/machine/spi_sdcard.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/machine/spi_sdcard.cpp b/src/devices/machine/spi_sdcard.cpp
index 588727d83d4..d238317c789 100644
--- a/src/devices/machine/spi_sdcard.cpp
+++ b/src/devices/machine/spi_sdcard.cpp
@@ -245,11 +245,11 @@ void spi_sdcard_device::do_command()
break;
case 8: // CMD8 - SEND_IF_COND (SD v2 only)
- m_data[0] = 0; // 0x01;
- m_data[1] = m_cmd[1]; // 0;
- m_data[2] = m_cmd[2]; // 0;
- m_data[3] = m_cmd[3]; // 0x01;
- m_data[4] = m_cmd[4]; // 0xaa;
+ m_data[0] = 0x01;
+ m_data[1] = 0;
+ m_data[2] = 0;
+ m_data[3] = 0x01;
+ m_data[4] = 0xaa;
send_data(5, SD_STATE_IDLE);
break;