mirror of https://github.com/RPCS3/rpcs3.git
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;
|
u32 connected_devices = 0;
|
||||||
|
|
||||||
{
|
|
||||||
std::lock_guard lock(pad::g_pad_mutex);
|
|
||||||
|
|
||||||
for (auto& cur_pad_handler : handlers)
|
for (auto& cur_pad_handler : handlers)
|
||||||
{
|
{
|
||||||
cur_pad_handler.second->ThreadProc();
|
cur_pad_handler.second->ThreadProc();
|
||||||
|
@ -279,7 +276,6 @@ void pad_thread::ThreadFunc()
|
||||||
{
|
{
|
||||||
m_info.ignore_input = false;
|
m_info.ignore_input = false;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
std::this_thread::sleep_for(1ms);
|
std::this_thread::sleep_for(1ms);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue