Commit graph

9901 commits

Author SHA1 Message Date
Henrik Rydgård
8e1caadb48 Remove some unnecessary reporting. 2020-08-06 10:20:27 +02:00
Henrik Rydgård
f9a1a0eee5 Fix issue where after a backend change restart, the new instance was considered secondary. 2020-08-06 10:19:58 +02:00
shenweip
77da51c418 Also correct the allocated size. 2020-08-05 19:01:00 +08:00
shenweip
acc952d839 Correct the alignment size when allocate memory at a position. 2020-08-05 18:43:45 +08:00
Henrik Rydgård
ca04d9b516 Improve logging of unknown syscall imports.
Also stop reporting these, just not that interesting anymore.
2020-08-04 11:13:17 +02:00
Henrik Rydgård
d57edfbdac Rename FramebufferCommon.cpp/h to FramebufferManagerCommon.cpp/h for consistency 2020-08-03 23:17:22 +02:00
Henrik Rydgård
ed946edff4
Merge pull request #13239 from hrydgard/interface-audio
Add sound effects for PPSSPP interface navigation
2020-08-03 23:08:32 +02:00
iota97
ce2fc7d986 Fix texture upscaling and per game setting fix/cleanup 2020-08-03 16:04:23 +02:00
Henrik Rydgård
b77d954bc1 Off by default 2020-08-03 12:14:38 +02:00
Henrik Rydgård
3fd8f3d86d Add a setting. Various tweaks to sound triggering. 2020-08-03 12:08:11 +02:00
Henrik Rydgård
5423f76e25 Hook up the first UI sound, make it play. 2020-08-03 12:08:11 +02:00
Henrik Rydgård
b30be913c0 Read in WAV files for UI sounds 2020-08-03 12:08:11 +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