mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
Fix running more than one session with Wiimotes
A static var is not a good idea, when the value needs to be reset for every session. Also, the variable holds the data size, so it makes sense to set the data size, where the data is added.
This commit is contained in:
parent
bfe8b11ba8
commit
b962c1f392
2 changed files with 7 additions and 6 deletions
|
@ -99,6 +99,7 @@ protected:
|
|||
|
||||
std::array<Common::FifoQueue<GCPadStatus>, 4> m_pad_buffer;
|
||||
std::array<Common::FifoQueue<NetWiimote>, 4> m_wiimote_buffer;
|
||||
std::array<u32, 4> m_wiimote_current_data_size;
|
||||
|
||||
NetPlayUI* m_dialog = nullptr;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue