mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 00:59:44 -06:00
IOS: Only have one USBScanner
Some games open two USB interfaces, e.g. /dev/usb/oh0 and /dev/usb/hid. This was causing us to run two scanning threads at once, using up more CPU time for scanning than we need to.
This commit is contained in:
@ -56,7 +56,8 @@ class GPFifoManager;
|
||||
namespace IOS::HLE
|
||||
{
|
||||
class EmulationKernel;
|
||||
}
|
||||
class USBScanner;
|
||||
} // namespace IOS::HLE
|
||||
namespace HSP
|
||||
{
|
||||
class HSPManager;
|
||||
@ -192,6 +193,7 @@ public:
|
||||
SerialInterface::SerialInterfaceManager& GetSerialInterface() const;
|
||||
Sram& GetSRAM() const;
|
||||
SystemTimers::SystemTimersManager& GetSystemTimers() const;
|
||||
IOS::HLE::USBScanner& GetUSBScanner() const;
|
||||
VertexShaderManager& GetVertexShaderManager() const;
|
||||
XFStateManager& GetXFStateManager() const;
|
||||
VideoInterface::VideoInterfaceManager& GetVideoInterface() const;
|
||||
|
Reference in New Issue
Block a user