dolphin/Source/Core/Core
Vicki Pfau f6e9003ddc SI/DeviceGBA: Ensure data socket isn't backed up
When reading a reply from a message sent to the data socket there is
the possibility that the other side gets sent multiple messages
before replying to any of them, which can lead to multiple replies
sent in a row. Though this only happens when things time out, it's
quite possible for these timeouts to happen or build up over time,
especially when initiating the connection.

This change makes sure to flush any pending bytes that have not been
read yet out of the socket after a successful POLL reply is received,
since that is the most common time when backups occur, and as well as
using the exact number of bytes in an expected reply, to ensure
the received data and the message it's replying to do not get out of
sync.
2021-03-02 18:53:44 -08:00
..
Boot IOS: Use less ambiguous names for classes 2021-02-12 21:40:31 +01:00
Config IOS/NET: Add timeout on blocking connect 2021-02-21 18:15:26 +04:00
ConfigLoaders Core: Add new Free Look settings and config 2020-12-24 13:49:25 -06:00
Debugger DebugInterface: Check visited addresses in GetThreads 2021-03-02 19:29:47 +04:00
DSP Core/DSP: Fix improper uses of offsetof 2021-02-10 02:03:16 +01:00
FifoPlayer rename Common/File to Common/IOFile 2021-01-27 14:29:48 -08:00
HLE Split OSREPORT logging type 2020-12-24 23:38:59 -06:00
HW SI/DeviceGBA: Ensure data socket isn't backed up 2021-03-02 18:53:44 -08:00
IOS Merge pull request #8759 from sepalani/so-connect 2021-02-21 15:26:59 +01:00
PowerPC Fix issue were loaded memory breakpoints were not being triggered 2021-02-19 16:09:50 +00:00
ActionReplay.cpp Core: Make use of C++17 deduction guides with locks 2020-12-29 16:06:17 -05:00
ActionReplay.h Core: Save the disabling of default enabled codes 2020-12-11 10:08:20 +01:00
ARDecrypt.cpp Core: Convert missed log calls over to fmt 2020-11-23 12:20:02 -05:00
ARDecrypt.h
BootManager.cpp Store pointers in Config::SYSCONF_SETTINGS 2020-12-11 19:54:16 +01:00
BootManager.h
CheatCodes.h Core: Allow overriding the enabling of a code 2020-12-11 10:02:14 +01:00
CMakeLists.txt NetworkCaptureLogger: Move SSL logging 2021-01-28 21:23:18 +04:00
CommonTitles.h
ConfigManager.cpp Merge pull request #9461 from cbartondock/master 2021-02-10 22:50:40 +01:00
ConfigManager.h Working Game IDs for Elf/Dol files 2021-01-30 09:51:37 -05:00
Core.cpp NetworkCaptureLogger: Move SSL logging 2021-01-28 21:23:18 +04:00
Core.h Android: Fix rotating EmulationActivity after boot fails 2020-11-09 10:38:49 +01:00
CoreTiming.cpp Core: Make use of C++17 deduction guides with locks 2020-12-29 16:06:17 -05:00
CoreTiming.h
DolphinAnalytics.cpp rename Core/Analytics to Core/DolphinAnalytics 2021-01-27 14:29:47 -08:00
DolphinAnalytics.h rename Core/Analytics to Core/DolphinAnalytics 2021-01-27 14:29:47 -08:00
DSPEmulator.cpp
DSPEmulator.h
FreeLookConfig.cpp Core: Add new Free Look settings and config 2020-12-24 13:49:25 -06:00
FreeLookConfig.h Core: Add new Free Look settings and config 2020-12-24 13:49:25 -06:00
FreeLookManager.cpp FreeLookManager: acquire global input lock before accessing individual FreeLook control states 2021-01-20 12:25:21 -06:00
FreeLookManager.h Core: Add Free Look controllers that are initialized at boot 2020-12-24 13:49:25 -06:00
GeckoCode.cpp Core: Make use of C++17 deduction guides with locks 2020-12-29 16:06:17 -05:00
GeckoCode.h Core: Save the disabling of default enabled codes 2020-12-11 10:08:20 +01:00
GeckoCodeConfig.cpp Core: Don't copy default _Enabled sections to user INIs 2020-12-11 15:38:11 +01:00
GeckoCodeConfig.h
Host.h Remove unused function Host_UpdateProgressDialog 2020-04-03 12:53:38 +02:00
HotkeyManager.cpp HotkeyManager: Remove Free Look functionality in preparation for replacement 2020-12-24 13:48:38 -06:00
HotkeyManager.h HotkeyManager: Remove Free Look functionality in preparation for replacement 2020-12-24 13:48:38 -06:00
LibusbUtils.cpp
LibusbUtils.h
MachineContext.h Add support for FreeBSD/arm64 2020-08-27 21:54:04 +01:00
MemoryWatcher.cpp Core/MemoryWatcher: Use appropriate memory read function in ChasePointer(). 2021-02-24 19:02:30 +01:00
MemoryWatcher.h
MemTools.cpp windows: fix unregistering VEH 2021-01-27 05:15:54 -08:00
MemTools.h
Movie.cpp IOS: Use less ambiguous names for classes 2021-02-12 21:40:31 +01:00
Movie.h Movie: Fix 83b9fef regressions 2020-11-28 23:35:55 +01:00
NetPlayClient.cpp rename Common/File to Common/IOFile 2021-01-27 14:29:48 -08:00
NetPlayClient.h TraversalProto: Convert TraversalConnectFailedReason into an enum class 2021-01-20 12:24:05 -05:00
NetPlayProto.h Core/NetPlay: Fix Wii Remote syncing. 2020-09-27 13:10:19 -05:00
NetPlayServer.cpp rename Common/File to Common/IOFile 2021-01-27 14:29:48 -08:00
NetPlayServer.h TraversalProto: Convert TraversalConnectFailedReason into an enum class 2021-01-20 12:24:05 -05:00
NetworkCaptureLogger.cpp PCAP: Improve TCP session logging 2021-02-12 13:42:18 +04:00
NetworkCaptureLogger.h PCAP: Improve TCP session logging 2021-02-12 13:42:18 +04:00
PatchEngine.cpp Patches for Resident Evil 2/3 audio issues 2020-12-29 14:24:46 -08:00
PatchEngine.h Patches for Resident Evil 2/3 audio issues 2020-12-29 14:24:46 -08:00
State.cpp IOS/FS: Allow IPC interface to be used internally from IOS HLE 2021-02-18 18:53:32 +01:00
State.h Android: Show how long ago each savestate was created 2020-10-21 22:49:59 +02:00
SyncIdentifier.h Make netplay's "same game" check more robust 2020-08-02 22:46:53 +02:00
SysConf.cpp rename Common/File to Common/IOFile 2021-01-27 14:29:48 -08:00
SysConf.h SysConf: std::move name in Entry constructor 2020-12-29 19:09:57 -05:00
System.cpp Core: Add initial System class 2020-12-19 23:22:06 -05:00
System.h Core: Add initial System class 2020-12-19 23:22:06 -05:00
TitleDatabase.cpp
TitleDatabase.h
WiiRoot.cpp rename Common/File to Common/IOFile 2021-01-27 14:29:48 -08:00
WiiRoot.h
WiiUtils.cpp IOS: Use less ambiguous names for classes 2021-02-12 21:40:31 +01:00
WiiUtils.h IOS: Use less ambiguous names for classes 2021-02-12 21:40:31 +01:00