Commit Graph
9890 Commits
Author SHA1 Message Date
iota97 ce2fc7d986 Fix texture upscaling and per game setting fix/cleanup 2020-08-03 16:04:23 +02:00
Henrik Rydgård 60683cf4a4 Merge pull request #13238 from hrydgard/minor-logging-cleanup
Logging and error handling improvements around save states
2020-08-02 19:05:58 +02:00
Henrik Rydgård 3869ade72a libretro buildfix 2020-08-02 17:54:03 +02:00
Henrik Rydgård 1fecc30429 Merge pull request #13235 from unknownbrackets/texscaling
Vulkan: Allow custom texture upscaling shaders
2020-08-02 17:17:03 +02:00
Henrik Rydgård bf4db22165 SaveState: On section version failure, log out the name of the bad section.
Also some other minor improvements to logging and comments.
2020-08-02 17:11:09 +02:00
Henrik Rydgård 6aa3681f7c Minor logging improvements 2020-08-02 15:41:00 +02:00
Henrik Rydgård a47c33ac57 Fix error in sceUsbMic savestate handling (need to accept old savestates without the section)
Hopefully helps #13236.
2020-08-02 15:08:51 +02:00
Henrik Rydgård 914b6ce24c Merge pull request #13216 from ANR2ME/net_apctl_stuff
Added a fake thread to process Apctl Request Events into Apctl State Changes
2020-08-02 11:05:17 +02:00
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
Unknown W. Brackets 5ff75f4ca8 UI: Add setting for texture upload shader. 2020-08-01 21:28:18 -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 fbaba82c68 Reduce use of multi-byte char switches.. saw this go wrong when stepping!?! 2020-07-27 16:55:05 +02: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
parport0 fd62d30773 Debugger: Add memory.read_*, memory write_* 2020-07-26 01:18:16 +03: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