diff options
author | 2021-10-03 20:56:25 -0400 | |
---|---|---|
committer | 2021-10-03 20:56:25 -0400 | |
commit | fbb2381f9e19e0f07906be0a883bb8e445208e6c (patch) | |
tree | 1790779b2028adb5efc6aff0ac45e87e664f6e1a | |
parent | a27da21b689c77a1678970e62ce11b4901b24a2a (diff) |
spi_sdcard: don't use a random number in the CID block, it'll confuse BBC Micro MMFS. [R. Belmont]
-rw-r--r-- | src/devices/machine/spi_sdcard.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/machine/spi_sdcard.cpp b/src/devices/machine/spi_sdcard.cpp index 5f5595bb99e..3ace0591742 100644 --- a/src/devices/machine/spi_sdcard.cpp +++ b/src/devices/machine/spi_sdcard.cpp @@ -239,7 +239,7 @@ void spi_sdcard_device::do_command() m_data[10] = 'D'; m_data[11] = 0x10; // Product Revision in BCD (1.0) { - u32 uSerial = machine().rand(); + u32 uSerial = 0x12345678; m_data[12] = (uSerial>>24) & 0xff; // PSN - Product Serial Number m_data[13] = (uSerial>>16) & 0xff; m_data[14] = (uSerial>>8) & 0xff; |