Skip to content

Commit

Permalink
Workaround until https://bugs.dolphin-emu.org/issues/10764 is fixed
Browse files Browse the repository at this point in the history
Hopefully doesn't break anything
  • Loading branch information
NarryG committed Jan 4, 2018
1 parent 3f6043e commit a5904fc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Source/Core/Core/HW/SI/SI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,10 @@ void ChangeDeviceDeterministic(SIDevices device, int channel)
if (GetDeviceType(channel) != device)
{
CoreTiming::ScheduleEvent(0, s_change_device_event, ((u64)channel << 32) | SIDEVICE_NONE);
CoreTiming::ScheduleEvent(SystemTimers::GetTicksPerSecond(), s_change_device_event,
//Narrysmod_Hijack. Do it 1 tick later so the user doesn't goof things up
//Workaround until https://bugs.dolphin-emu.org/issues/10764 is fixed
//CoreTiming::ScheduleEvent(SystemTimers::GetTicksPerSecond(), s_change_device_event,
CoreTiming::ScheduleEvent(1, s_change_device_event,
((u64)channel << 32) | device);
}
}
Expand Down

0 comments on commit a5904fc

Please sign in to comment.