From 3528c93edf7c141eb8e1e9c85a4cc6cda499e9a0 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Sun, 3 Sep 2017 14:53:29 +0200 Subject: [PATCH] DVDThread: Don't show an error message for all 0-length reads --- Source/Core/Core/HW/DVD/DVDThread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/HW/DVD/DVDThread.cpp b/Source/Core/Core/HW/DVD/DVDThread.cpp index 33fdc279c4..221a95a451 100644 --- a/Source/Core/Core/HW/DVD/DVDThread.cpp +++ b/Source/Core/Core/HW/DVD/DVDThread.cpp @@ -326,7 +326,7 @@ static void FinishRead(u64 id, s64 cycles_late) (CoreTiming::GetTicks() - request.time_started_ticks) / (SystemTimers::GetTicksPerSecond() / 1000000)); - if (buffer.empty()) + if (buffer.size() != request.length) { PanicAlertT("The disc could not be read (at 0x%" PRIx64 " - 0x%" PRIx64 ").", request.dvd_offset, request.dvd_offset + request.length);