mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
meh
This commit is contained in:
parent
2c393d35f0
commit
98c174edc4
520 changed files with 74815 additions and 58942 deletions
|
@ -59,7 +59,7 @@ namespace GCAdapter
|
|||
{
|
||||
#if GCADAPTER_USE_LIBUSB_IMPLEMENTATION
|
||||
|
||||
constexpr unsigned int USB_TIMEOUT_MS = 16;
|
||||
constexpr unsigned int USB_TIMEOUT_MS = 100;
|
||||
|
||||
static bool CheckDeviceAccess(libusb_device* device);
|
||||
static void AddGCAdapter(libusb_device* device);
|
||||
|
@ -432,9 +432,10 @@ void Init()
|
|||
return;
|
||||
#endif
|
||||
|
||||
if (Core::GetState() != Core::State::Uninitialized && Core::GetState() != Core::State::Starting)
|
||||
auto& system = Core::System::GetInstance();
|
||||
if (const Core::State state = Core::GetState(system);
|
||||
state != Core::State::Uninitialized && state != Core::State::Starting)
|
||||
{
|
||||
auto& system = Core::System::GetInstance();
|
||||
auto& core_timing = system.GetCoreTiming();
|
||||
if ((core_timing.GetTicks() - s_last_init) < system.GetSystemTimers().GetTicksPerSecond())
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue