mirror of https://github.com/PCSX2/pcsx2.git
USB: Only update when devices plugged
This commit is contained in:
parent
c21df3b7f0
commit
a42143690c
|
@ -490,6 +490,9 @@ bool USB::DoState(StateWrapper& sw)
|
|||
|
||||
void USBasync(u32 cycles)
|
||||
{
|
||||
if (!s_usb_device[0] && !s_usb_device[1])
|
||||
return;
|
||||
|
||||
s_usb_remaining += cycles;
|
||||
s_usb_clocks += s_usb_remaining;
|
||||
if (s_qemu_ohci->eof_timer > 0)
|
||||
|
|
Loading…
Reference in New Issue