mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 19:45:20 +00:00
input: only unregister raw mouse devices if they were registered
This commit is contained in:
parent
898c92045d
commit
9c2e6a8f31
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue