ANR2ME
5de2707633
Fix crashes issue due to 0 is a valid index to types_, using invalid index like -1 should give a better/clearer stack trace
2020-08-02 14:02:49 +07:00
ANR2ME
8886291434
Save&Restore PSP Thread IDs to prevent using the wrong Thread ID after loading from save state, also making sure DoState have default value
2020-08-02 12:57:27 +07:00
ANR2ME
5f550fdf73
Lowering minVer of AfterAdhocMipsCall section.
2020-08-02 09:52:27 +07:00
ANR2ME
90ff382c59
Rearranged network's After PSPAction creation/registration so that newer one have higher value to prevent network's callbacks triggering the wrong after action after loading from old save state.
2020-08-02 08:49:58 +07:00
Henrik Rydgård
0586338d5e
Add some comments and const-correctness, and a pointer type fix, to the "semaphore" crypto stuff.
2020-08-01 23:11:48 +02:00
Henrik Rydgård
45b05b386b
Merge pull request #13229 from shenweip/UsbMic
...
Add basic Microphone support on Windows.
2020-08-01 19:26:35 +02:00
shenweip
e349eb803d
Init parameters in __UsbMicInit to avoid incorrect initial state when you exit to menu from ingame.
...
Also use memcpy instead of a loop.
2020-08-02 00:22:22 +08:00
AdamN
1380c09cb8
Patapon 3 Fix ( #13231 )
...
* Showing returned error code in the logs to give more info on the exact error with so many error code variations.
* Fix an issue where players that got forcefully disconnected (ie. Resetting the game) are no longer recognized by the Host when trying to reJoin on Patapon 3
* Allows Optional data pointer to be non-zero/null even if Optional data Length is 0, since we're not even accessing the data if it's length is 0 anyway. TODO: Will need someone to confirm if this is really allowed or returning an error on a real PSP.
* Fix Identity issue on Patapon 3 where all players became Player1. This should also fix other games with similar issue.
2020-08-01 15:24:21 +02:00
sum
a897be92c7
Imp sceUtilsBufferCopyWithRange and sceUtilsBufferCopyByPollingWithRange ( #13206 )
...
* Imp sceUtilsBufferCopyWithRange
Used in Shin Sangoku Musou 6 Special chinese patach #13205
* Fix sceUtilsBufferCopyByPollingWithRange
* Add logging and reporting
* Fix logging and remove report by @hrydgard
2020-08-01 14:15:12 +02:00
shenweip
5de721bb4c
minor fix
2020-08-01 19:50:23 +08:00
shenweip
fd619c9fc5
BuildFix
2020-07-31 19:19:51 +08:00
shenweip
107d58a74b
Also partly implement in sceUsbCam.
2020-07-31 18:26:21 +08:00
shenweip
d195cba837
Flush audio buffer when a transmission is completed.
2020-07-31 17:10:00 +08:00
shenweip
6d26bd6539
Do state.
2020-07-31 15:52:03 +08:00
shenweip
c7e2eba231
Add basic Microphone support on Windows.
2020-07-31 10:24:17 +08:00
sum
61fa4453dd
Add two Kernel_Library's nids ( #13218 )
...
* Add two Kernel_Library's nids
Add HLE_KERNEL_SYSCALL flag
used in #13205
* Remove HLE_KERNEL_SYSCALL flag
as @unknownbrackets suggest
* Add space
* + ","
2020-07-29 20:14:10 +02:00
Henrik Rydgård
95f853eaab
Merge pull request #13217 from sum2012/threadman_minor2
...
Add two ThreadManForKernel 's nids
2020-07-29 16:57:41 +02:00
ANR2ME
f927ca795c
Added a fake thread to process Apctl Request Events into Apctl State Changes
2020-07-29 02:27:39 +07:00
sum2012
3447cdf6dd
oop
2020-07-28 10:50:06 +08:00
sum2012
74f710a228
Add two SysMemForKernel's nids
...
used in #13205
2020-07-28 10:47:08 +08:00
sum2012
122a1acef9
Add two ThreadManForKernel 's nids
...
used in #13205
2020-07-28 10:22:04 +08:00
Henrik Rydgård
7d2b1952d5
Merge pull request #13207 from ANR2ME/net_apctl_stub
...
Added more stub for some unimplemented sceNetApctl* functions
2020-07-27 16:30:12 +02:00
sum2012
f025d2deee
Add some threadman's nids
...
used in #13205
2020-07-27 21:18:38 +08:00
ANR2ME
eda5774408
Added more stub for some unimplemented sceNetApctl* functions
2020-07-27 19:51:01 +07:00
sum2012
2f24a02323
Add two ModuleMgrForKernel's nids
...
used in Dissidia final fantasy chinese patch
2020-07-26 17:12:01 +08:00
ANR2ME
30ea1087dd
Attempt to fix an issue when the 3rd player joined causing problem to other players on Patapon 3 (this may also affects other games that use AdhocMatching)
2020-07-25 11:48:19 +07:00
ANR2ME
2f44495654
Added more info to AdhocMatching Logs to get a better insight
2020-07-25 11:48:18 +07:00
ANR2ME
87b712450f
Locking before changing peer linked list order, just to be safe.
2020-07-24 14:46:40 +07:00
ANR2ME
581ba6c326
Added target/destination IP & port of sceNetAdhocPtpConnect in the log to get better insight
2020-07-24 08:28:42 +07:00
ANR2ME
5153b60637
Fix some logs text
2020-07-24 08:07:01 +07:00
ANR2ME
c8ea017e8c
Fix an issue where a player got disconnected when another player tries to join.
...
This should affects games that use AdhocMatching such as Patapon 3
2020-07-24 07:59:40 +07:00
ANR2ME
a6e3bed150
Just to be safe since SO_MAX_MSG_SIZE may not be available on all platform and forcing the definition to what windows use might be a bad idea.
2020-07-23 12:41:13 +02:00
ANR2ME
a3b21b04ea
Making mac2str function easier/cleaner/safer to use for logging purpose
2020-07-23 12:41:13 +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
d078a73278
Need to make sure already connected to Adhoc Server before Creating/Joining a group. (Fix GTA VCS failed to join a group and unable to see any room)
2020-07-23 12:09:39 +02:00
ANR2ME
a0f0973462
Reconnect to Adhoc Server when disconnected while still having the AdhocCtl Inited (ie. due to timeout or network failure) so players doesn't need to reset the game to reconnect.
2020-07-23 12:09:28 +02:00
ANR2ME
68ac1d306d
Fix issue when loading save state created from previous test version
2020-07-23 12:09:24 +02:00
Unknown W. Brackets
de439f8cd7
Correct a crash on a missing kernel object.
2020-07-22 23:59:09 -07:00
ANR2ME
6695001b94
Fix timeout comparison
2020-07-22 23:13:41 +02:00
ANR2ME
df26845388
Minor fixes
2020-07-22 23:13:41 +02:00
ANR2ME
1d30a9efec
Fix possible crash issue during Networking Cleanup
2020-07-22 23:13:41 +02:00
ANR2ME
e21ea719e9
Fixed PortManager fallback Cleanup issue when exiting PPSSPP due to early WSACleanup
2020-07-22 23:13:41 +02:00
ANR2ME
65bc68609c
Added an option to Disable Nagle Algorithm (Enable TCP No Delay)
2020-07-22 23:13:41 +02:00
ANR2ME
68fa15784c
Fixed UPnP port opened by PPSSPP detection, and Updated PortManager to be compliant to general purpose usage
2020-07-22 23:13:41 +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
3e2266e1c4
Making sure there are no warnings on adhoc code when building on android studio
2020-07-22 22:31:05 +02:00
ANR2ME
2ca6a4f0d7
Fixed GvG Next Plus, Phantasy Star Portable 2, and some minor changes
2020-07-22 22:22:59 +02:00
ANR2ME
d12218e8da
Attempt to fix compilation error on Linux
2020-07-22 20:41:47 +02:00
ANR2ME
62c37a3481
Fix Blinking game room issue on NFS Most Wanted, this will also fix lobby issue on Ridge Racer 2, Naruto Kizuna Drive, etc.
2020-07-22 19:17:34 +02:00
Henrik Rydgård
7a6ffdb173
Merge pull request #13179 from hrydgard/platform-fixes-ANR2ME
...
Socket inconsistency platform fixes - broken out from #13123
2020-07-22 19:16:51 +02:00