mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-22 03:40:30 +00:00
input: only unregister raw mouse devices if they were registered
This commit is contained in:
parent
898c92045d
commit
9c2e6a8f31
@ -219,7 +219,7 @@ raw_mouse_handler::raw_mouse_handler(bool ignore_config)
|
||||
|
||||
raw_mouse_handler::~raw_mouse_handler()
|
||||
{
|
||||
if (m_raw_mice.empty())
|
||||
if (!m_registered_raw_input_devices)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user