Merge pull request #2279 from JosJuice/fix-sudtr

Fix terrible Speed Up Disc Transfer Rate mistake
This commit is contained in:
Fiora 2015-04-08 05:37:51 -07:00
commit 47bc611485
1 changed files with 2 additions and 1 deletions

View File

@ -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);