mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00:00
sys_usbd: Fix emulated devices not being created without a physical device
This commit is contained in:
parent
e2bbaa2430
commit
8159ee9991
1 changed files with 2 additions and 1 deletions
|
@ -522,10 +522,11 @@ usb_handler_thread::usb_handler_thread()
|
|||
}
|
||||
}
|
||||
|
||||
for (const auto& [entry, count] : emulate_device_check)
|
||||
for (const auto& entry : device_allow_list)
|
||||
{
|
||||
if (entry.max_device_count && entry.make_instance)
|
||||
{
|
||||
auto count = emulate_device_check[entry];
|
||||
for (int i = count; i < entry.max_device_count(); i++)
|
||||
{
|
||||
sys_usbd.success("Emulating device: %s (%d)", std::basic_string(entry.device_name), i);
|
||||
|
|
Loading…
Add table
Reference in a new issue