DVDInterface: Log seek offsets with a more intuitive sign
This commit is contained in:
parent
54c2800bb4
commit
9427d6efb9
|
@ -1309,7 +1309,7 @@ u64 SimulateDiscReadTime(u64 offset, u32 length)
|
||||||
{
|
{
|
||||||
// No buffer; just use the simple seek time + read time.
|
// No buffer; just use the simple seek time + read time.
|
||||||
DEBUG_LOG(DVDINTERFACE, "Seeking %" PRId64 " bytes",
|
DEBUG_LOG(DVDINTERFACE, "Seeking %" PRId64 " bytes",
|
||||||
s64(s_last_read_offset) - s64(offset));
|
s64(offset) - s64(s_last_read_offset));
|
||||||
ticks_until_completion = disk_read_duration;
|
ticks_until_completion = disk_read_duration;
|
||||||
s_last_read_time = current_time + ticks_until_completion;
|
s_last_read_time = current_time + ticks_until_completion;
|
||||||
}
|
}
|
||||||
|
@ -1343,7 +1343,7 @@ u64 SimulateDiscReadTime(u64 offset, u32 length)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
DEBUG_LOG(DVDINTERFACE, "Short seek %" PRId64 " bytes",
|
DEBUG_LOG(DVDINTERFACE, "Short seek %" PRId64 " bytes",
|
||||||
s64(s_last_read_offset) - s64(offset));
|
s64(offset) - s64(s_last_read_offset));
|
||||||
ticks_until_completion = disk_read_duration;
|
ticks_until_completion = disk_read_duration;
|
||||||
s_last_read_time = current_time + ticks_until_completion;
|
s_last_read_time = current_time + ticks_until_completion;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue