mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-15 21:40:45 +00:00
DVDThread: Don't show an error message for all 0-length reads
This commit is contained in:
parent
0341a6052b
commit
3528c93edf
@ -326,7 +326,7 @@ static void FinishRead(u64 id, s64 cycles_late)
|
|||||||
(CoreTiming::GetTicks() - request.time_started_ticks) /
|
(CoreTiming::GetTicks() - request.time_started_ticks) /
|
||||||
(SystemTimers::GetTicksPerSecond() / 1000000));
|
(SystemTimers::GetTicksPerSecond() / 1000000));
|
||||||
|
|
||||||
if (buffer.empty())
|
if (buffer.size() != request.length)
|
||||||
{
|
{
|
||||||
PanicAlertT("The disc could not be read (at 0x%" PRIx64 " - 0x%" PRIx64 ").",
|
PanicAlertT("The disc could not be read (at 0x%" PRIx64 " - 0x%" PRIx64 ").",
|
||||||
request.dvd_offset, request.dvd_offset + request.length);
|
request.dvd_offset, request.dvd_offset + request.length);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user