mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
NetPlay: Implement golf mode
This is an extension of host input authority that allows switching the host (who has zero latency) on the fly, at the further expense of everyone else's latency. This is useful for turn-based games where the latency of players not on their turn doesn't matter. To become the so-called golfer, the player simply presses a hotkey. When the host is the golfer, latency is identical to normal host input authority.
This commit is contained in:
parent
e2f1da5210
commit
1a12876330
15 changed files with 263 additions and 28 deletions
|
@ -200,6 +200,9 @@ void HotkeyScheduler::Run()
|
|||
if (IsHotkey(HK_ACTIVATE_CHAT))
|
||||
emit ActivateChat();
|
||||
|
||||
if (IsHotkey(HK_REQUEST_GOLF_CONTROL))
|
||||
emit RequestGolfControl();
|
||||
|
||||
// Recording
|
||||
if (IsHotkey(HK_START_RECORDING))
|
||||
emit StartRecording();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue