Merge pull request #3679 from JosJuice/seek-log-sign

DVDInterface: Log seek offsets with a more intuitive sign
This commit is contained in:
Pierre Bourdon 2016-02-29 16:49:39 +01:00
commit 392051bd69

View File

@ -1309,7 +1309,7 @@ u64 SimulateDiscReadTime(u64 offset, u32 length)
{
// No buffer; just use the simple seek time + read time.
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;
s_last_read_time = current_time + ticks_until_completion;
}
@ -1343,7 +1343,7 @@ u64 SimulateDiscReadTime(u64 offset, u32 length)
else
{
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;
s_last_read_time = current_time + ticks_until_completion;
}