DVDInterface: make fast disc speed faster.

Fixes workaround for crash in Star Wars Rogue Leader.
This commit is contained in:
magumagu 2014-05-18 20:03:55 -07:00
parent 3161cdfa8e
commit 5dffa28f0a
1 changed files with 6 additions and 4 deletions

View File

@ -728,10 +728,12 @@ void ExecuteCommand()
if (SConfig::GetInstance().m_LocalCoreStartupParameter.bFastDiscSpeed) if (SConfig::GetInstance().m_LocalCoreStartupParameter.bFastDiscSpeed)
{ {
// Make the virtual DVD drive much faster than a physical drive if // Make sure fast disc speed performs "instant" reads; in addition
// the user requests it; most games aren't very sensitive to the speed, // to being used to speed up games, fast disc speed is used as a
// and everyone likes shorter load times. // workaround for crashes in certain games, including Star Wars
ticksUntilTC /= 8; // Rogue Leader.
FinishExecuteRead();
return;
} }
CoreTiming::ScheduleEvent((int)ticksUntilTC, tc); CoreTiming::ScheduleEvent((int)ticksUntilTC, tc);