Skip to content

Commit

Permalink
Merge pull request #2279 from JosJuice/fix-sudtr
Browse files Browse the repository at this point in the history
Fix terrible Speed Up Disc Transfer Rate mistake
  • Loading branch information
FioraAeterna committed Apr 8, 2015
2 parents f8a4d47 + 76d0cfa commit 47bc611
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/Core/Core/HW/DVDInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,8 @@ DVDReadCommand ExecuteReadCommand(u64 DVD_offset, u32 output_address, u32 DVD_le
}

if (SConfig::GetInstance().m_LocalCoreStartupParameter.bFastDiscSpeed)
*ticks_until_completion = output_length * BUFFER_TRANSFER_RATE; // An optional hack to speed up loading times
// An optional hack to speed up loading times
*ticks_until_completion = output_length * (SystemTimers::GetTicksPerSecond() / BUFFER_TRANSFER_RATE);
else
*ticks_until_completion = SimulateDiscReadTime(DVD_offset, DVD_length);

Expand Down

0 comments on commit 47bc611

Please sign in to comment.