Commit Graph
6340 Commits
Author SHA1 Message Date
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
Henrik Rydgård b43698a13d Remove most instances of base/logging.h from Common, Core, GPU, more 2020-08-15 19:08:44 +02:00
Henrik Rydgård 0fcc0994b4 Recategorize some logging, in preparation for what's to come. 2020-08-15 11:51:22 +02:00
sorgts a8a1c67df0 Fix build with clang-cl 2020-08-13 16:48:48 +02:00
ANR2ME bd36b9dff1 Shows AdHoc and Access Point Connecting... Dialog 2020-08-13 00:59:50 +07:00
ANR2ME 8dec09703f Moving reused adhoc function out of sceNet function to prevent getting extra SCENET log 2020-08-13 00:59:50 +07:00
ANR2ME 2620957aba An attempt to simulate a fake PSN authentication on Patapon 3 2020-08-12 21:16:01 +07:00
ANR2ME 92db25e486 Renaming sceNp* NIDs functions to their proper function names. 2020-08-12 20:27:03 +07:00
Henrik Rydgård 27c059bf9e Really no need to call clear() in the constructor for AudioChannel.
However if this helps #13271, something is very wrong...
2020-08-12 00:22:54 +02:00
Henrik Rydgård 14532847c7 Fix some minor issues found by address-sanitizer on Linux 2020-08-11 22:28:36 +02:00
Unknown W. Brackets b8342fb8ec SaveState: Rename ChunkFile files to Serialize.
Makes more sense and less weird than ChunkFileDoMap, etc.
2020-08-10 08:04:05 +00:00
Unknown W. Brackets 1dc5ee424b SaveState: Split out Do types to reduce headers. 2020-08-10 08:03:44 +00:00
Unknown W. Brackets 4c46867230 Audio: Avoid exposing fixed size queue in header. 2020-08-10 08:03:44 +00:00
Unknown W. Brackets 481181714b Audiocodec: Silence a known warning. 2020-08-10 08:03:44 +00:00
Unknown W. Brackets 1af3009e80 HLE: Fix some missing error logging. 2020-08-10 08:03:44 +00:00
Unknown W. Brackets 4b4e3432cd SaveState: Split Do() into a separate header. 2020-08-10 08:03:41 +00:00
Henrik Rydgård dd79d33f14 Minor: Initialize a struct. Decrease logging in sceMt19937. 2020-08-09 21:45:42 +02:00
Henrik Rydgård 8e1caadb48 Remove some unnecessary reporting. 2020-08-06 10:20:27 +02: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 5423f76e25 Hook up the first UI sound, make it play. 2020-08-03 12:08:11 +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årdandGitHub 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
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årdandGitHub 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
AdamNandGitHub 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
sumandGitHub 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
sumandGitHub 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årdandGitHub 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årdandGitHub 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