mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
NetPlay: Refactor some functions into a common header
This commit is contained in:
parent
56fdde5d74
commit
3d5cf5286b
9 changed files with 262 additions and 230 deletions
|
@ -9,7 +9,6 @@
|
|||
#include <map>
|
||||
#include <memory>
|
||||
#include <mutex>
|
||||
#include <optional>
|
||||
#include <string>
|
||||
#include <thread>
|
||||
#include <unordered_map>
|
||||
|
@ -221,8 +220,6 @@ private:
|
|||
|
||||
void SyncSaveDataResponse(bool success);
|
||||
void SyncCodeResponse(bool success);
|
||||
bool DecompressPacketIntoFile(sf::Packet& packet, const std::string& file_path);
|
||||
std::optional<std::vector<u8>> DecompressPacketIntoBuffer(sf::Packet& packet);
|
||||
|
||||
bool PollLocalPad(int local_pad, sf::Packet& packet);
|
||||
void SendPadHostPoll(PadIndex pad_num);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue