From f1d1129e05cda94db6eb71046135842139de5d13 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sun, 19 Apr 2020 22:31:22 +1000 Subject: [PATCH] CDROM: Don't assert if SetMode.bit4 is set --- src/core/cdrom.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/core/cdrom.cpp b/src/core/cdrom.cpp index 74b2185c7..befdf9cd5 100644 --- a/src/core/cdrom.cpp +++ b/src/core/cdrom.cpp @@ -1554,7 +1554,9 @@ void CDROM::ProcessDataSector(const u8* raw_sector, const CDImage::SubChannelQ& (m_current_write_sector_buffer - 1) % NUM_SECTOR_BUFFERS); } - Assert(!m_mode.ignore_bit); + if (m_mode.ignore_bit) + Log_WarningPrintf("SetMode.4 bit set on read of sector %u", m_last_requested_sector); + if (m_mode.read_raw_sector) { std::memcpy(sb->data.data(), raw_sector + SECTOR_SYNC_SIZE, RAW_SECTOR_OUTPUT_SIZE);