Henrik Rydgård
ee6234ecb6
I18N: Switch to getting categories by index instead of by string lookup
...
Also gets rid of the shared_ptr usage, and generally makes things nicer.
Needed for later config refactorings, good to get in early.
2023-04-07 10:35:01 +02:00
Henrik Rydgård
9e125eeba7
Remove NotifyUserMessage from Host
2023-03-25 10:32:09 +01:00
ANR2ME
6a79f59c06
Fix threading issue when exiting PPSSPP due to unjoined AdhocServer thread when AdhocServer failed to bind the socket and exited the thread early.
2021-09-28 20:44:03 +07:00
Henrik Rydgård
025bcb1673
Introduce Path, start using it all over the place.
...
Still lots left to convert!
Convert GetSysDirectory to return Path.
More buildfixing
Remove unnecessary Path( constructors
2021-05-13 10:39:16 +02:00
Henrik Rydgård
f4a6d291e1
Common: Capitalize setCurrentThreadName().
2021-04-30 23:02:36 -07:00
M4xw
4cc322466a
Switch: Workaround several missing toolchain defs.
2021-03-04 21:24:57 -08:00
ANR2ME
758fb12fc3
Making sure there are no warnings related to deprecated inet_ntoa function
2021-03-01 01:45:27 +07:00
Unknown W. Brackets
9d22297a90
Windows: Use CommonWindows more consistently.
...
Also, make sure WinSock2.h is included beforehand where it's needed.
2021-02-14 10:30:10 -08:00
ANR2ME
cc1ff5b94c
2nd or more instance of PPSSPP should only bind it's own localhost IP for Adhoc Server. Fixes Capcom Classics Collection Remix multiplayer on multiple-instance.
2020-10-16 12:10:50 +07:00
Henrik Rydgård
4f43cff5ca
Move fileutil, net, image loaders, ui to Common. ( #13506 )
...
* Move and rename file_util/fd_util to Common/File/FileUtil and DirListing
Let's also move net while we're at it.
Move the ZIM/PNG loaders over to Common.
Move the UI framework into Common
iOS buildfix
* Buildfix
* Buildfixes
* Apple buildfix
* This typo again..
* UWP buildfix
* Fix build of PPSSPPQt, such as it is (it's not in good condition...)
* Guess what? Another buildfix.
2020-10-04 20:48:47 +02:00
Henrik Rydgård
ff8148dd92
Move native/util, native/data and native/i18 to Common/Data.
...
Also move colorutil.cpp/h
linking build fix experiment
Delete a bunch of unused CMakeLists.txt files
CMakeLists.txt linking fix
Don't include NativeApp.h from any headers.
Android.mk buildfix
Half of the UWP fix
Buildfix
Minor project file cleanup
Buildfixes
Guess what? More buildfixes!
2020-10-04 07:28:29 +02:00
Henrik Rydgård
15382d5f94
Move threading utils from native to Common
2020-10-01 09:27:25 +02:00
ANR2ME
3b38062a47
Fix Failed to Bind already used port issue on Android (and probably linux too). This should fix Dynasty Warrior Strikeforce and Shin Sangoku Musou Multi Raid 2
2020-09-12 09:08:50 +07:00
ANR2ME
1e6593f791
Sleep a bit longer, especially when PPSSPP paused.
2020-09-11 13:24:45 +07:00
ANR2ME
69b3c788eb
Ignore SIGPIPE error on certain system (ie. Linux)
2020-09-07 02:38:45 +07:00
ANR2ME
97904d7149
Fix possible stalled thread when PPSSPP closed down
2020-09-04 13:09:44 +07:00
Henrik Rydgård
0752e7d158
Merge pull request #13302 from unknownbrackets/net-local
...
Net: Simplify local IP lookup and cleanup instance counter a bit
2020-08-18 21:29:29 +02:00
Unknown W. Brackets
a89840f309
Net: Cut down on local IP aliasing.
2020-08-17 23:08:35 -07:00
Henrik Rydgård
ccc0331279
Move timeutil to Common. (Experiment to see how much work it is to move these).
2020-08-15 20:53:08 +02:00
ANR2ME
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
ANR2ME
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
ANR2ME
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
ANR2ME
33d3ac28de
Added UPnP Support
...
Fix i18n type
2020-07-21 23:02:58 +02:00
ANR2ME
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
ANR2ME
b58f4a6e90
Enabling KeepAlive on sockets
2020-07-20 19:13:10 +02:00
ANR2ME
d8186a8330
Fix i18n type
2020-07-20 18:20:06 +02:00
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
ANR2ME
834d086876
Support multiple instance of localhost Multiplayer on 1 PC
2020-07-20 10:03:09 +02:00
twinaphex
a9bf8e7b18
More mingw patches pt. 2
2017-08-29 22:41:50 +02:00
Henrik Rydgard
5df4bac6d2
Delete some left behind unused code
2017-01-25 10:05:39 +01:00
Henrik Rydgård
8f7a65872b
Buildfix
2016-12-27 13:14:45 +01:00
Henrik Rydgård
33b3330f07
Minor cleanup in proAdhocServer.cpp
2016-12-27 12:13:51 +01:00
Gde Made Novan Priambhada
bb973545e1
crosslink database & product id database
2016-12-24 05:46:50 +08:00
Henrik Rydgard
3ba911bf07
Replace some calls to fopen with File::OpenCFile (utf8).
2016-01-17 15:59:20 +01:00
Unknown W. Brackets
f3654795a3
Minor warning fixes.
2015-01-11 14:23:42 -08:00
sum2012
accda25ce0
Travis CI Fix, typo
2015-01-04 13:04:05 +01:00
AdamN
1a61bbbdf2
Adding socket error checking on AdhocServer
2015-01-04 13:04:04 +01:00
sum2012
7c323f8571
Another build fix
2015-01-04 13:04:03 +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