mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-24 14:24:54 +00:00
Qt/IOWindow: Fix crash
This commit is contained in:
parent
fd1ea63383
commit
146979f67e
1 changed files with 3 additions and 0 deletions
|
@ -217,6 +217,9 @@ void IOWindow::UpdateOptionList()
|
|||
|
||||
const auto device = g_controller_interface.FindDevice(m_devq);
|
||||
|
||||
if (device == nullptr)
|
||||
return;
|
||||
|
||||
if (m_reference->IsInput())
|
||||
{
|
||||
for (const auto* input : device->Inputs())
|
||||
|
|
Loading…
Add table
Reference in a new issue