Commit graph

95 commits

Author SHA1 Message Date
ANR2ME
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
ANR2ME
0aa899ea0b Make PPSSPP_ID persistent every reset/changing game thus have persistent localhost IP 2020-07-20 10:03:09 +02:00
ANR2ME
46ebdebe05 Excluding Android from multiple-instance feature because i'm too lazy to learn ashmem :D 2020-07-20 10:03:09 +02:00
ANR2ME
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
sum2012
9933ae0c6e netAdhocctlInited should be true when return success
Update back new file

Windows (?) build fix
2015-01-04 13:04:09 +01:00
AdamN
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
Lioncash
4ccb838306 Core: Mark some module functions as static 2014-12-08 04:40:08 -05:00
The Dax
c2afa8f221 Add a non-functional stub for sceNetResolverInit.
Lets a Quake II homebrew port by CROW_BAR boot again.
2014-09-02 15:40:42 -04:00
The Dax
c1fc04ee64 Remove the "Change MAC Address" screen, and simply generate a new (random) one upon pressing the button. 2014-07-18 16:58:26 -04:00
AdamN
7f7b2a3800 Fixed some bugs (ie. possible of memory leaks) on Adhoc, and implement a few more Adhoc functions. 2014-06-24 23:43:03 +07:00
Unknown W. Brackets
05ab192c9c Reduce includes in Core/HLE/.
Especially templates.
2014-03-15 11:22:19 -07:00
lioncash
b9886942a7 Fix some vertical alignments in misc Core source files. 2014-03-03 11:16:53 -05:00
The Dax
abe98775b2 Add/clarify some comments. 2014-01-31 23:18:34 -05:00
The Dax
7be82a89ab Flesh out the netconf dialog a bit by having it display an error, and add a stub for sceNetApctlDisconnect. 2014-01-31 19:08:52 -05:00
Unknown W. Brackets
7bbbf4d4b6 Typo. 2013-12-14 11:34:06 -08:00
The Dax
cf4c7a5d8c Fix bug where networking option wasn't saved to the ini file, and default to false. If it's on by default, Peace Walker and other games are broken for now. 2013-12-04 17:28:20 -05:00
Henrik Rydgard
c83a7e0029 Parse mac addresses in one place. 2013-11-28 12:38:45 +01:00
Kyhel
a4135dadbc Added MAC address from config 2013-11-25 04:46:03 +01:00
Kyhel
0f7f90d0ac Added windows changes for a unified build. Added Dialog fix which
prevented from saving after going online. Added windows « errno » use
redefinition to suit WSAGetLastError and protocl needs.
2013-11-25 02:57:08 +01:00
Igor Calabria
553f1d4e4e Implements a bunch of adhoc functions 2013-10-29 21:39:45 +00:00
raven02
b95901e56f Wrap sceNetInit() 2013-10-06 00:58:02 +08:00
Unknown W. Brackets
50e9e45d65 Check version in each DoState() func.
They bail on PointerWrap error or bad version.
2013-09-14 20:23:03 -07:00
Henrik Rydgard
324cde5a79 Let's actually use the log category mechanism. A first step. 2013-09-07 21:19:21 +02:00
Henrik Rydgard
cc8e4cb8fe Split out sceNetAdhoc* into a separate file from sceNet. 2013-09-07 00:55:42 +02:00
Unknown W. Brackets
7349de55d1 Fix some initialization/sprintf warnings. 2013-09-01 01:15:07 -07:00
Unknown W. Brackets
0d0d036522 Clean up MAC address conversion in HLE.
Not planning to implement net, but this fixes a potential crash / buffer
overflow, and implements a commonly reported unimplemented function.
2013-08-29 23:47:03 -07:00
Unknown W. Brackets
2ef650aa2d Add a bunch of HLE functions for better reporting. 2013-08-22 23:04:55 -07:00
CPkmn
b0d203454f Update sceNet.cpp 2013-08-22 15:55:03 -07:00
Unknown W. Brackets
8ab67b1674 Fix some warnings. 2013-08-13 21:05:54 -07:00
Unknown W. Brackets
ea420bcfaa Specify memory layout in sceNet. 2013-07-27 15:42:23 -07:00