Commit Graph
119 Commits
Author SHA1 Message Date
ANR2ME 8dec09703f Moving reused adhoc function out of sceNet function to prevent getting extra SCENET log 2020-08-13 00:59:50 +07:00
ANR2ME 2620957aba An attempt to simulate a fake PSN authentication on Patapon 3 2020-08-12 21:16:01 +07:00
Unknown W. Brackets b8342fb8ec SaveState: Rename ChunkFile files to Serialize.
Makes more sense and less weird than ChunkFileDoMap, etc.
2020-08-10 08:04:05 +00:00
Unknown W. Brackets 1dc5ee424b SaveState: Split out Do types to reduce headers. 2020-08-10 08:03:44 +00:00
Unknown W. Brackets 4b4e3432cd SaveState: Split Do() into a separate header. 2020-08-10 08:03:41 +00:00
ANR2ME 5de2707633 Fix crashes issue due to 0 is a valid index to types_, using invalid index like -1 should give a better/clearer stack trace 2020-08-02 14:02:49 +07:00
ANR2ME 8886291434 Save&Restore PSP Thread IDs to prevent using the wrong Thread ID after loading from save state, also making sure DoState have default value 2020-08-02 12:57:27 +07:00
ANR2ME 90ff382c59 Rearranged network's After PSPAction creation/registration so that newer one have higher value to prevent network's callbacks triggering the wrong after action after loading from old save state. 2020-08-02 08:49:58 +07:00
ANR2ME f927ca795c Added a fake thread to process Apctl Request Events into Apctl State Changes 2020-07-29 02:27:39 +07:00
ANR2ME eda5774408 Added more stub for some unimplemented sceNetApctl* functions 2020-07-27 19:51:01 +07:00
ANR2MEandHenrik Rydgård a3b21b04ea Making mac2str function easier/cleaner/safer to use for logging purpose 2020-07-23 12:41:13 +02:00
ANR2MEandHenrik Rydgård 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
ANR2MEandHenrik Rydgård df26845388 Minor fixes 2020-07-22 23:13:41 +02:00
ANR2MEandHenrik Rydgård 1d30a9efec Fix possible crash issue during Networking Cleanup 2020-07-22 23:13:41 +02:00
ANR2MEandHenrik Rydgård e21ea719e9 Fixed PortManager fallback Cleanup issue when exiting PPSSPP due to early WSACleanup 2020-07-22 23:13:41 +02:00
ANR2MEandHenrik Rydgård 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
ANR2MEandHenrik Rydgård 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
ANR2MEandHenrik Rydgård 2ca6a4f0d7 Fixed GvG Next Plus, Phantasy Star Portable 2, and some minor changes 2020-07-22 22:22:59 +02:00
ANR2MEandHenrik Rydgård 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
ANR2MEandHenrik Rydgård 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
ANR2MEandHenrik Rydgård 088e489c91 Fix UPnP error detection
Fix Local IP detection on non-Windows system
2020-07-21 23:03:04 +02:00
ANR2MEandHenrik Rydgård 33d3ac28de Added UPnP Support
Fix i18n type
2020-07-21 23:02:58 +02:00
ANR2MEandHenrik Rydgård 6c267dff9e Fix Local IP detection on non-Windows system
(Note: Had to delete a UPnP related line)
2020-07-20 19:23:37 +02:00
ANR2MEandHenrik Rydgård d8186a8330 Fix i18n type 2020-07-20 18:20:06 +02:00
ANR2MEandHenrik Rydgård fb7d50e5c2 Improved multiplayer compatibility on some games (ie. GTA VCS, Naruto Ultimate Ninja Heroes 3, DBZ Shin Budokai 2, Power Stone Collection, .hack//Link, etc) 2020-07-20 18:09:16 +02:00
Henrik Rydgård fa0b9dc1bc Make the instance counter global and initialized at startup.
Turn off config saving for secondary instances.
2020-07-20 11:40:54 +02:00
Henrik Rydgård fa683bf902 Remove some _XBOX stuff 2020-07-20 10:03:09 +02:00
Henrik Rydgård 9e08f24769 Apply a few lines from "Added UPnP support", removing extra WSA calls. 2020-07-20 10:03:09 +02:00
ANR2MEandHenrik Rydgård 0aa899ea0b Make PPSSPP_ID persistent every reset/changing game thus have persistent localhost IP 2020-07-20 10:03:09 +02:00
ANR2MEandHenrik Rydgård 46ebdebe05 Excluding Android from multiple-instance feature because i'm too lazy to learn ashmem :D 2020-07-20 10:03:09 +02:00
ANR2MEandHenrik Rydgård 834d086876 Support multiple instance of localhost Multiplayer on 1 PC 2020-07-20 10:03:09 +02:00
Unknown W. Brackets 91e1e75692 Net: Correct pool allocation. 2020-04-05 07:01:45 -07:00
Unknown W. Brackets 54e1afda1e HLE: Make calling mips funcs simpler.
This makes their return value handling, scheduling, etc. more
straight-forward.
2020-03-22 06:59:43 -07:00
shenweip fc55d2b81b Correcting return value of some mipscalls without after action. 2020-03-18 16:58:07 +08:00
Unknown W. Brackets 6b453c4708 Net: Better simulate sceWlanGetEtherAddr timing.
Also, interestingly, this does not fail if the wifi switch is off.
2020-03-15 11:37:12 -07:00
Unknown W. Brackets dfb10f197e Net: Handle memory allocation better. 2020-03-15 11:37:12 -07:00
Henrik Rydgård a1941d8a81 It's enough to call net::Init/Shutdown in NativeInit/Shutdown. Remove other calls. 2017-03-06 10:51:28 +01:00
sum2012 1df833cc16 Small fix and change log format 2016-02-21 13:18:03 +08:00
sum2012 5894e8f18f Add save status support 2016-02-21 07:33:06 +08:00
sum2012 29f24a600e Add sceNetIfhandle staff
Used in Yu-Gi-Oh 5Ds Tag Force 4
2016-02-13 20:27:07 +08:00
sum2012 bbeaf67cd6 Support port offset by @ANR2ME
Useful of adhoc of non-windows
2016-01-24 16:52:39 +08:00
Unknown W. Brackets e2ecd1eabd Add memchecks for ReadStruct/WriteStruct. 2015-04-05 18:09:35 -07:00
Unknown W. Brackets fcf0518223 Update all the HLE tables with arg and ret info. 2015-03-22 20:51:55 -07:00
sum2012 4e302df69b fix space bug 2015-03-08 20:10:10 +08:00
sum2012 c2435c1e9b Add sceNetUpnp module 2015-03-08 20:07:03 +08:00
Henrik Rydgard d479fae481 Show some major networking errors on the OSD 2015-01-04 13:04:11 +01:00
Henrik Rydgard 101fe5c481 Don't launch the friend finder thread if the adhoc network init fails.
Adds a flag for network success but doesn't check it anywhere yet..
2015-01-04 13:04:10 +01:00
Henrik Rydgard 58238bc7ed GCC buildfix 2015-01-04 13:04:10 +01:00
sum2012andHenrik Rydgard 9933ae0c6e netAdhocctlInited should be true when return success
Update back new file

Windows (?) build fix
2015-01-04 13:04:09 +01:00
AdamNandHenrik Rydgard 1c7152db3a Adding Branch opcode to the MAKE_MIPS
Temp revert old version to fix conflict; Implementing built-in PRO Adhoc Server; Add back sceUsbGps

Implementing more Adhoc functions, and some bug fix (i don't remember them anymore)
2015-01-04 13:04:02 +01:00