Commit graph

27557 commits

Author SHA1 Message Date
Henrik Rydgård
809fd6b8fa Small perf optimization in debug mode (surprisingly expensive to do a vector lookup here). 2020-07-24 00:05:36 +02:00
Henrik Rydgård
dd8dd2c15d Libretro: Update minimum windows version to Vista. Committed on behalf of twinaphex
To fix a build error.
2020-07-23 22:37:42 +02:00
Henrik Rydgård
e9d0b5b90f D3D11 - don't forget to unbind secondary texture when we need to unbind.
Fixes Patapon 3 error reported in #13132.
2020-07-23 22:23:55 +02:00
Henrik Rydgård
3403e28470
Merge pull request #13191 from hrydgard/upnp-thread-ANR2ME
Do UPnP on a thread to avoid stutter. Extracted from #13132 by ANR2ME
2020-07-23 13:40:57 +02:00
ANR2ME
a6e3bed150 Just to be safe since SO_MAX_MSG_SIZE may not be available on all platform and forcing the definition to what windows use might be a bad idea. 2020-07-23 12:41:13 +02:00
ANR2ME
a3b21b04ea Making mac2str function easier/cleaner/safer to use for logging purpose 2020-07-23 12:41:13 +02:00
ANR2ME
bd36fdda0e Do UPnP stuff on it's own thread to prevent causing stutters/lags during multiplayer game due to blocking socket behavior on miniUPnP 2020-07-23 12:41:13 +02:00
ANR2ME
596fad3f42 Provides quick IP fill on Adhoc Server IP address setting to makes player's life easier :) 2020-07-23 12:41:13 +02:00
Henrik Rydgård
8eac711a92
Merge pull request #13189 from hrydgard/reconnect-fixes-ANR2ME
AdHoc Reconnect fixes, extracted from #13132 by ANR2ME
2020-07-23 12:40:16 +02:00
ANR2ME
d078a73278 Need to make sure already connected to Adhoc Server before Creating/Joining a group. (Fix GTA VCS failed to join a group and unable to see any room) 2020-07-23 12:09:39 +02:00
ANR2ME
a0f0973462 Reconnect to Adhoc Server when disconnected while still having the AdhocCtl Inited (ie. due to timeout or network failure) so players doesn't need to reset the game to reconnect. 2020-07-23 12:09:28 +02:00
ANR2ME
68ac1d306d Fix issue when loading save state created from previous test version 2020-07-23 12:09:24 +02:00
Unknown W. Brackets
de439f8cd7
Correct a crash on a missing kernel object. 2020-07-22 23:59:09 -07:00
Henrik Rydgård
9f88a8835d
Merge pull request #13183 from hrydgard/upnp-fixes-ANR2ME
UPnP and miscellaneous fixes, extracted from #13132 by ANR2ME
2020-07-23 01:35:35 +02:00
ANR2ME
6695001b94 Fix timeout comparison 2020-07-22 23:13:41 +02:00
ANR2ME
df26845388 Minor fixes 2020-07-22 23:13:41 +02:00
ANR2ME
1d30a9efec Fix possible crash issue during Networking Cleanup 2020-07-22 23:13:41 +02:00
ANR2ME
e21ea719e9 Fixed PortManager fallback Cleanup issue when exiting PPSSPP due to early WSACleanup 2020-07-22 23:13:41 +02:00
ANR2ME
65bc68609c Added an option to Disable Nagle Algorithm (Enable TCP No Delay) 2020-07-22 23:13:41 +02:00
ANR2ME
68fa15784c Fixed UPnP port opened by PPSSPP detection, and Updated PortManager to be compliant to general purpose usage 2020-07-22 23:13:41 +02:00
ANR2ME
b9025b50bd Added a UPnP option to use original port for external port instead of using the shifted port by port offset, to be compatible with real PSP or other PSP emulators 2020-07-22 23:13:41 +02:00
Henrik Rydgård
eea2b23452
Merge pull request #13182 from hrydgard/gvg-psp2-fixes-ANR2ME
Fixes for GvG Next Plus, Phantasy Star Portable 2 extracted from #13132
2020-07-22 23:12:58 +02:00
Henrik Rydgård
c5d912baa2 Further libretro buildfix 2020-07-22 22:49:03 +02:00
ANR2ME
3e2266e1c4 Making sure there are no warnings on adhoc code when building on android studio 2020-07-22 22:31:05 +02:00
ANR2ME
2ca6a4f0d7 Fixed GvG Next Plus, Phantasy Star Portable 2, and some minor changes 2020-07-22 22:22:59 +02:00
Henrik Rydgård
a6d49af668 libretro buildfix? 2020-07-22 21:24:07 +02:00
Henrik Rydgård
2e1a06b09a
Merge pull request #13181 from hrydgard/blinking-room-issue-ANR2ME
Fix Blinking game room issue on NFS Most Wanted (extracted from #13132 by ANR2ME)
2020-07-22 21:20:14 +02:00
ANR2ME
d12218e8da Attempt to fix compilation error on Linux 2020-07-22 20:41:47 +02:00
ANR2ME
62c37a3481 Fix Blinking game room issue on NFS Most Wanted, this will also fix lobby issue on Ridge Racer 2, Naruto Kizuna Drive, etc. 2020-07-22 19:17:34 +02:00
Henrik Rydgård
7a6ffdb173
Merge pull request #13179 from hrydgard/platform-fixes-ANR2ME
Socket inconsistency platform fixes - broken out from #13123
2020-07-22 19:16:51 +02:00
Henrik Rydgård
3ec54d3804
Merge pull request #13180 from shenweip/Font-stingy
Use the alloc size from real PSP for FONT_OPEN_INTERNAL_STINGY mode.
2020-07-22 18:42:13 +02:00
Henrik Rydgård
cc96e9ad11 Backport Mac/iOS buildfix from a later commit 2020-07-22 18:41:32 +02:00
shenweip
d1cafd103c Use the alloc size from real PSP for FONT_OPEN_INTERNAL_STINGY mode. the 2020-07-22 23:47:29 +08:00
ANR2ME
8daf2ff66e Added UI to change WLAN Channel.
Currently Ridge Racer 2 doesn't works with Auto channel (TODO: Making sure sceUtilityGetSystemParamInt doesn't returns channel 0 when connected to a network for Ridge Racer 2 to works with Auto channel)
2020-07-22 16:46:39 +02:00
ANR2ME
d0045947f1 An attempt to fix socket's behavior inconsistencies across platforms.
Added an option to override minimum socket's timeout to prevent getting timeouts on high latency networks.
2020-07-22 16:46:34 +02:00
Henrik Rydgård
d9756e9231
Merge pull request #13177 from hrydgard/upnp-support-ANR2ME
Added UPnP Support from #13132
2020-07-22 10:48:45 +02:00
Henrik Rydgård
31e861132b Implement ANR2ME's solution for miniupnpcstring.h 2020-07-22 10:26:21 +02:00
Henrik Rydgård
e1069da10a Oops 2020-07-22 01:40:54 +02:00
Henrik Rydgård
597647a2eb Create an Android.mk for miniupnp 2020-07-22 01:19:40 +02:00
Henrik Rydgård
5f2156fa27 Windows: Run the upnp string gen script regardless of architecture, and in UWP. 2020-07-22 00:31:34 +02:00
Henrik Rydgård
8b37ba8d25 Update the gradle version again. 2020-07-22 00:17:16 +02:00
Henrik Rydgård
47f0031f57 Add PortManager.cpp to Android.mk 2020-07-22 00:13:52 +02:00
Henrik Rydgård
eb7b6b38f6 Switch to my miniupnpc fork with a UWP fix 2020-07-21 23:43:32 +02:00
Henrik Rydgård
c3afdaf99f UWP: Unify linker options 2020-07-21 23:30:32 +02:00
Henrik Rydgård
91c7210757 Set up Windows UWP project for miniupnpc.
Gets all the way to linking where it's missing 'in6addr_any' for some
reason.
2020-07-21 23:23:59 +02:00
Henrik Rydgård
e2035bf241 MiniUPNPC: Windows: Try to fix build on VS 2017, add more platforms. 2020-07-21 23:07:36 +02:00
ANR2ME
088e489c91 Fix UPnP error detection
Fix Local IP detection on non-Windows system
2020-07-21 23:03:04 +02:00
ANR2ME
33d3ac28de Added UPnP Support
Fix i18n type
2020-07-21 23:02:58 +02:00
Henrik Rydgård
6280d1b11c
Merge pull request #13175 from hrydgard/spawn-new-instance
Windows: Add file menu command to easily load up a new identical instance of PPSSPP.
2020-07-21 00:21:27 +02:00
Henrik Rydgård
9489c37c4b
Merge pull request #13174 from hrydgard/game-compat-ANR2ME
Extract another few commits from #13132
2020-07-21 00:20:35 +02:00