From e36e70a2666bd5c19f42af627b58b5d16c0647c6 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Tue, 31 Mar 2020 22:29:03 +1000 Subject: [PATCH] CDROM: Drop sector buffer not read back to dev log level This happens a lot in games and it's perfectly fine, but sometimes it can mean the game is wedged and not receiving data. --- src/core/cdrom.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/cdrom.cpp b/src/core/cdrom.cpp index 00a7b3f85..8d2ace255 100644 --- a/src/core/cdrom.cpp +++ b/src/core/cdrom.cpp @@ -1524,8 +1524,8 @@ void CDROM::ProcessDataSector(const u8* raw_sector, const CDImage::SubChannelQ& m_current_write_sector_buffer = (m_current_write_sector_buffer + 1) % NUM_SECTOR_BUFFERS; if (sb->size > 0) { - Log_WarningPrintf("Sector buffer %u was not read, previous sector dropped", - (m_current_write_sector_buffer - 1) % NUM_SECTOR_BUFFERS); + Log_DevPrintf("Sector buffer %u was not read, previous sector dropped", + (m_current_write_sector_buffer - 1) % NUM_SECTOR_BUFFERS); } Assert(!m_mode.ignore_bit);