mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-13 07:55:47 -04:00
HostInterface: Crash fix again for controller switching
This commit is contained in:
@ -969,7 +969,7 @@ void HostInterface::UpdateSettings(const std::function<void()>& apply_callback)
|
||||
{
|
||||
if (m_settings.controller_types[i] != old_controller_types[i])
|
||||
{
|
||||
if (!controllers_updated)
|
||||
if (m_system && !controllers_updated)
|
||||
{
|
||||
m_system->UpdateControllers();
|
||||
controllers_updated = true;
|
||||
|
Reference in New Issue
Block a user