mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +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
|
@ -1284,8 +1284,7 @@ bool MainWindow::NetPlayJoin()
|
|||
if (server)
|
||||
{
|
||||
server->SetHostInputAuthority(host_input_authority);
|
||||
if (!host_input_authority)
|
||||
server->AdjustPadBufferSize(Config::Get(Config::NETPLAY_BUFFER_SIZE));
|
||||
server->AdjustPadBufferSize(Config::Get(Config::NETPLAY_BUFFER_SIZE));
|
||||
}
|
||||
|
||||
// Create Client
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue