mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-21 09:40:01 +00:00
input: remove inconvenient pad mutex
It takes too long to wait for some handlers after all, causing stutter.
This commit is contained in:
parent
2eb0d19a75
commit
a33b2afe08
@ -226,9 +226,6 @@ void pad_thread::ThreadFunc()
|
||||
|
||||
u32 connected_devices = 0;
|
||||
|
||||
{
|
||||
std::lock_guard lock(pad::g_pad_mutex);
|
||||
|
||||
for (auto& cur_pad_handler : handlers)
|
||||
{
|
||||
cur_pad_handler.second->ThreadProc();
|
||||
@ -279,7 +276,6 @@ void pad_thread::ThreadFunc()
|
||||
{
|
||||
m_info.ignore_input = false;
|
||||
}
|
||||
}
|
||||
|
||||
std::this_thread::sleep_for(1ms);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user