mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-23 10:50:01 +00:00
NetPlay: Move host input authority logic to client
This is a prerequisite for golf mode, as the client needs to be in control of sending pad states.
This commit is contained in:
parent
42964e8531
commit
e2f1da5210
7 changed files with 112 additions and 109 deletions
|
@ -158,6 +158,7 @@ protected:
|
|||
std::array<Common::SPSCQueue<GCPadStatus>, 4> m_pad_buffer;
|
||||
std::array<Common::SPSCQueue<NetWiimote>, 4> m_wiimote_buffer;
|
||||
|
||||
std::array<GCPadStatus, 4> m_last_pad_status{};
|
||||
std::array<bool, 4> m_first_pad_status_received{};
|
||||
|
||||
std::chrono::time_point<std::chrono::steady_clock> m_buffer_under_target_last;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue