Henrik Rydgård
22e65ba80d
Get rid of ugly alignment macros and some other cruft, we now have alignas(16) from C++11
2017-08-31 01:14:51 +02:00
twinaphex
7424e6485f
Revert "PACK should be defined different for Win32 based on whether"
...
This reverts commit 553c7083ca
.
2017-08-30 21:31:18 +02:00
twinaphex
553c7083ca
PACK should be defined different for Win32 based on whether
...
we compile with Mingw or MSVC
2017-08-30 19:53:26 +02:00
twinaphex
a9bf8e7b18
More mingw patches pt. 2
2017-08-29 22:41:50 +02:00
Henrik Rydgard
d30116b8c3
Change another mutex back to being recursive. Oops. Fixes #9450
2017-03-18 22:34:19 +01:00
Henrik Rydgard
26a2d42731
Big mutex overhaul - remove our custom ones, make them non-recursive where possible
2017-02-28 11:40:29 +01:00
Henrik Rydgard
50be4e72b2
Get rid of our own silly reimplementation of std::thread
2017-02-27 20:51:36 +01:00
Henrik Rydgard
5df4bac6d2
Delete some left behind unused code
2017-01-25 10:05:39 +01:00
Ade Novan
ff0e3c28b4
ptp connect fix solved #8983 for android with high latency
2016-10-13 01:21:24 +08:00
sum2012
bbeaf67cd6
Support port offset by @ANR2ME
...
Useful of adhoc of non-windows
2016-01-24 16:52:39 +08:00
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