Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #9583 from michaelszubartowicz/master
Fix loading save states with bluetooth passthrough
  • Loading branch information
leoetlino committed Mar 16, 2021
2 parents 9a3e752 + 2eb6e21 commit 646bdc9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Source/Core/Core/HW/Wiimote.cpp
Expand Up @@ -53,6 +53,9 @@ void UpdateSource(unsigned int index)
if (!ios)
return;

if (s_wiimote_sources[index] != WiimoteSource::Emulated)
return;

const auto bluetooth = std::static_pointer_cast<IOS::HLE::BluetoothEmuDevice>(
ios->GetDeviceByName("/dev/usb/oh1/57e/305"));
if (!bluetooth)
Expand Down

0 comments on commit 646bdc9

Please sign in to comment.