mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-09 01:28:57 +00:00
Merge pull request #7535 from UnclePunch/synccodes
Netplay: Sync AR and gecko codes with clients
This commit is contained in:
commit
6b7a1ca6d1
17 changed files with 545 additions and 7 deletions
|
@ -192,6 +192,7 @@ private:
|
|||
void SendStopGamePacket();
|
||||
|
||||
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);
|
||||
|
||||
|
@ -226,6 +227,12 @@ private:
|
|||
Common::Event m_first_pad_status_received_event;
|
||||
u8 m_sync_save_data_count = 0;
|
||||
u8 m_sync_save_data_success_count = 0;
|
||||
u16 m_sync_gecko_codes_count = 0;
|
||||
u16 m_sync_gecko_codes_success_count = 0;
|
||||
bool m_sync_gecko_codes_complete = false;
|
||||
u16 m_sync_ar_codes_count = 0;
|
||||
u16 m_sync_ar_codes_success_count = 0;
|
||||
bool m_sync_ar_codes_complete = false;
|
||||
|
||||
u64 m_initial_rtc = 0;
|
||||
u32 m_timebase_frame = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue