Commit graph

18 commits

Author SHA1 Message Date
Lioncash
fea7428fdb Core: Add missing override specifiers 2015-10-17 02:58:02 -04:00
Henrik Rydgård
7b2f05d0a0 Merge pull request #7270 from Bigpet/adhocthread
don't use Thread* to create thread
2015-01-04 20:34:19 +01:00
Peter Tissen
a7d9370a69 don't use Thread* to create thread
slightly less hacky, as in, a little bit closer to what the actual PSP does, although the timings are still complete guesses

also

* Protect the adhoc Events by a mutex lock
* don't use emplace_back since symbian doesn't compile with it
2015-01-04 18:58:42 +01:00
Henrik Rydgard
a5d961b8d7 Clean up some compiler warnings in adhoc code 2015-01-04 14:09:41 +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
fc7439ec2a proAdhoc: Change resolveMAC to return bool
Must have missed this in my initial commit.
2014-12-10 23:42:40 -05:00
Lioncash
1d9ace08ae proAdhoc: Make some functions return boolean values.
Also shortens validNetworkName a little.
2014-12-06 14:48:46 -05: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
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
Ced2911
22ede1ebf3 [Xbox] Network disabled for xbox 2014-03-02 11:30:59 -08:00
Henrik Rydgard
c83a7e0029 Parse mac addresses in one place. 2013-11-28 12:38:45 +01:00
Henrik Rydgard
ade18848f7 Warning fixes 2013-11-28 11:54:00 +01:00
Henrik Rydgard
c499be9769 Merge branch 'adhoc-support' of https://github.com/Kyhel/ppsspp into Kyhel-adhoc-support
hrydgard here: I switched to our implementation of thread.h and removed the "Windows7SDK" things for now.

Conflicts:
	Core/Core.vcxproj.filters
2013-11-27 21:21:32 +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
33f4b44061 Moves proAdhoc extra functions to a separate file 2013-11-10 01:26:31 +00:00