Emulator Issues #12351
"Real Wii Remote" causes crash if Wiimote is disconnected
What's the problem? Describe what went wrong.
When using "Real Wii Remote" option, dolphin will crash if Wiimote gets turned off.
What steps will reproduce the problem?
- Set Wii Remote 1 to "Real Wii Remote"
- Connect Wiimote to Dolphin
- Launch any wii game
- Disconnect wiimote using its power button and see Dolphin crash in an instant
If you disconnect wiimote while game is not running, it will crash once you try to run the game. It does not matter if continuous scanning is used or not.
Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.
Is the issue present in the latest stable version?
If the issue isn't present in the latest stable version, which is the first broken version? (You can find the first broken version by bisecting. Windows users can use the tool https://forums.dolphin-emu.org/Thread-green-notice-development-thread-unofficial-dolphin-bisection-tool-for-finding-broken-builds and anyone who is building Dolphin on their own can use git bisect.)
[First broken version number here (if applicable)]
If your issue is a graphical issue, please attach screenshots and record a three frame fifolog of the issue if possible. Screenshots showing what it is supposed to look like from either console or older builds of Dolphin will help too. For more information on how to use the fifoplayer, please check here: https://wiki.dolphin-emu.org/index.php?title=FifoPlayer
[Attach any fifologs if possible, write a description of fifologs and screenshots here to assist people unfamiliar with the game.]
What are your PC specifications? (CPU, GPU, Operating System, more)
KUbuntu 20.10. Possibly relevant - I have two identical (same PID/VID) BT adapters connected to my PC.
Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)
In addition, I always must sync WiiMotes to have them connect, otherwise, they are connected using built-in XWiimote driver in Linux. Is it supposed to be this way?