From 9427d6efb9d16c86ba7cca6475dd0aa85c6eb8db Mon Sep 17 00:00:00 2001 From: JosJuice Date: Sat, 27 Feb 2016 15:20:49 +0100 Subject: [PATCH] DVDInterface: Log seek offsets with a more intuitive sign --- Source/Core/Core/HW/DVDInterface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/HW/DVDInterface.cpp b/Source/Core/Core/HW/DVDInterface.cpp index b3001738c2..662fc941ec 100644 --- a/Source/Core/Core/HW/DVDInterface.cpp +++ b/Source/Core/Core/HW/DVDInterface.cpp @@ -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; }