49 Commits

Author SHA1 Message Date
Unknown W. Brackets
9581de449a Fix some logging in sceNetAdhoc. 2014-07-15 23:35:19 -07:00
AdamN
a98b44d7ab Fixed FF-Type0 from seeing duplicated Host, hopefully this will also fix all Adhoc games that became broken in my 1st patch 2014-06-26 17:50:37 +07:00
AdamN
12ee3d1d39 Fixed Wipeout Pulse unable to see any Host, and should affect many other Adhoc games (was broken in my previous commit) 2014-06-25 20:29:42 +07: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
sum2012
1d36836d2d Add some constant 2014-05-25 10:51:00 +08:00
sum2012
b8e0fc8fa7 Small improve of sceNetAdhocMatching*
Now Metal Slug XX can display online screen.
2014-05-25 07:57:02 +08:00
Bovine
c76548377c Fix nonblocking ptpConnect on Windows
According to
http://msdn.microsoft.com/en-us/library/windows/desktop/ms737625%28v=vs.85%29.aspx
"[...] it is not recommended that applications use multiple calls to
connect to detect connection completion.  If they do, they must be
prepared to handle WSAEINVAL and WSAEWOULDBLOCK error values the same
way that they handle WSAEALREADY, to assure robust operation."

Ideally socket->state should be set to a different state and select()
used to poll sockets until state can be switched to closed or
established.  Changes to socket->state are visible to games as so
probably should not be done without testing.
2014-05-18 06:41:02 -07:00
Unknown W. Brackets
7cde2311e0 Include sceKernelThread.h in less headers. 2014-03-29 17:02:41 -07:00
Unknown W. Brackets
d65af7353b Avoid some ChunkFile includes. 2014-03-15 11:32:57 -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
Unknown W. Brackets
4a1c9645e8 Get rid of Memory::GetStruct(), use PSPPointer. 2014-02-27 00:28:57 -08:00
The Dax
f9348b96b7 Add more WLAN off behaviour. Without these, Peace Walker loads forever on subsequent missions on Windows. 2014-01-12 15:33:29 -05:00
Jeferson Rodrigues da Silva
4284290463 Fix for not updating local port information after bind in PtpOpen 2014-01-04 12:57:08 -02:00
raven02
14e79f8151 Lowering the log level of sceNET 2014-01-04 02:32:59 +08:00
Lioncash
442cc2f1c7 Fix a typo in an if statement comparison in function sceNetAdhocPdpDelete. This was likely intended to check against 'sock', not 'socket'. On Windows, initially 'socket' referred to a function in the WinSock2.h header file. Naturally, this will alway be non-null, which further leads to the conclusion that this was the intended comparison.
Also updated the commented out sections accordingly.
2013-12-27 12:02:53 -05:00
The Dax
4aa3594eb7 Fix a bunch of styling issues in sceNetAdhoc.cpp, and fix Coldbird's name (it's not "colorbird"). 2013-12-05 14:44:41 -05:00
The Dax
1326bb41c8 Fix Coldbird's name in a comment. It's not "colorbird". 2013-12-05 14:37:01 -05:00
Henrik Rydgard
32f479b0a6 Assorted log spam reductions.
Also let Java know of some important events. Not used for anything yet.
2013-12-04 17:43:00 +01:00
Henrik Rydgard
60ed75f68a Add option to disable networking, tries to replicate the old error codes.
Please test if disabling this option "fixes" any games that broke with the adhoc merge.
2013-12-04 11:07:52 +01:00
shenweip
ff5a5486aa Add a warn logging. 2013-12-03 22:09:01 +08:00
shenweip
1d5962f925 Typo 2013-12-03 21:40:08 +08:00
shenweip
833305817b Return success when initial networks fail. 2013-12-03 21:24:56 +08:00
Unknown W. Brackets
dd2e996838 Fix some type comparison warnings. 2013-12-01 11:21:16 -08:00
Henrik Rydgard
ade18848f7 Warning fixes 2013-11-28 11:54:00 +01:00
Unknown W. Brackets
78ea146af6 Get rid of some unnecessary ifdefs, fix build. 2013-11-27 22:15:39 -08:00
Sacha
778eeb9968 Adhoc: Android buildfix and tab fix. 2013-11-28 16:05:11 +10: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
33f4b44061 Moves proAdhoc extra functions to a separate file 2013-11-10 01:26:31 +00:00
Igor Calabria
f3f0bc231b Adds cleanup method after game exit 2013-11-05 16:36:01 +00:00
Igor Calabria
2d22ccadca Fixes crash when server is not available 2013-10-30 16:19:35 +00:00
Igor Calabria
13718aed6e Changes psp ram structs to use correct int types 2013-10-30 16:10:59 +00:00
Igor Calabria
24d2ac7c1b Uses native mutex 2013-10-30 14:56:08 +00:00
Igor Calabria
ca2b0a9b9a Uses native functions for timing 2013-10-30 14:45:32 +00:00
Igor Calabria
2c484c9bee Adds adhoc support notes on readme, and option to load server address from config 2013-10-30 00:18:06 +00:00
Igor Calabria
0bc7dee02c Fixes time function 2013-10-29 21:39:45 +00:00
Igor Calabria
28ab767c88 Adds common sleep function, and implements ptp functions 2013-10-29 21:39:45 +00:00
Igor Calabria
cce8ad050d Adds compability for packed structs on windows, and removes some redundant typedefs 2013-10-29 21:39:45 +00:00
Igor Calabria
ecb1411f0f Fixes getPeerList, now it's using the correct pointer values in the struct 2013-10-29 21:39:45 +00:00
Igor Calabria
5959f5b486 Packs most of psp data structs and fixes sceNetAdhocctlGetParameter 2013-10-29 21:39:45 +00:00
Igor Calabria
47947fd3f7 adds some matching functions 2013-10-29 21:39:45 +00:00
Igor Calabria
0574e6e1d1 More functions and support for games that use the netdiag 2013-10-29 21:39:45 +00:00
Igor Calabria
553f1d4e4e Implements a bunch of adhoc functions 2013-10-29 21:39:45 +00: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
Unknown W. Brackets
c3839a53e5 Fix some minor warnings. 2013-09-07 22:40:08 -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
7e37e183ed Wrap more adhoc functions 2013-09-07 11:06:28 +02:00
Henrik Rydgard
3b323c4176 Add a bunch of empty adhoc functions 2013-09-07 01:53:51 +02:00
Henrik Rydgard
cc8e4cb8fe Split out sceNetAdhoc* into a separate file from sceNet. 2013-09-07 00:55:42 +02:00