Commit Graph
4971 Commits
Author SHA1 Message Date
ANR2ME 2d71ac9a7f Reducing HLE delays on socket-related syscalls since we are using real network which already have it's own overhead. 2021-06-07 11:59:51 +07:00
ANR2ME dada18573a Minor changes to Adhoc's Verbose Logs returning error code. 2021-06-07 11:06:28 +07:00
Unknown W. Brackets 9324a1c20b Io: Don't confuse kernel object with meta handle.
Make sure we never try to close an unrelated open file when destroying an
async open temporary file node.
2021-06-06 09:58:46 -07:00
Unknown W. Brackets 294f78dec9 Io: Allow opening tty0: for output. 2021-06-06 09:56:41 -07:00
ANR2ME 7a06103cc6 Create GameMode's socket after Master and all Replicas have been created so we will know the largest buffer size. 2021-05-31 04:37:09 +07:00
ANR2ME 8dcfed0385 Show Port Offset value too when detecting Data coming from incorrect port. 2021-05-16 13:16:20 +07:00
ANR2ME d5177e33b9 Fix possible crash issue on blocking socket implementation. 2021-05-16 12:55:55 +07:00
Unknown W. Brackets d376e67f87 Common: Cleanup some Path constructions. 2021-05-14 22:48:04 -07:00
Henrik Rydgård 2e16e83159 It never ends... 2021-05-13 10:39:16 +02:00
Henrik Rydgård ae06499a0c Change Copy, Rename to use Path. Remove std::string version of Exists().
Buildfixes

Buildfix
2021-05-13 10:39:16 +02: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
Unknown W. Brackets 8544bd0c3e Windows: Avoid C++ files for consistency.
There's already the mingw thing, and we're avoiding these for Android
paths too.  Let's be consistent.
2021-05-09 17:00:48 -07:00
Henrik Rydgård 05b3395543 Merge pull request #14420 from unknownbrackets/threadpool-cleanup
Cleanup some of the threadpool and net code a bit
2021-05-01 08:43:52 +02:00
Unknown W. Brackets a140ec037a Usb: Stub sceUsbstorBootSetCapacity().
Apparently many Lua based homebrew call this on startup and hang if it
fails, but often otherwise don't use sceUsb.
2021-04-30 23:22:01 -07:00
Henrik Rydgård f4a6d291e1 Common: Capitalize setCurrentThreadName(). 2021-04-30 23:02:36 -07:00
Unknown W. Brackets c3da85234c Savedata: Eat less cycles in savedata init.
Other threads do get scheduled more, but I'm not sure what factors this is
based off of.  Hoping this helps #14382.
2021-04-25 18:38:30 -07:00
Henrik Rydgård 08843673d9 Rename a couple of functions. 2021-04-25 20:39:32 +02:00
Henrik Rydgård 1b13badeb4 Move remaining FileUtil functions into the File namespace. 2021-04-25 20:38:22 +02:00
ANR2ME 8742a49e07 Replacing the inconvenient prefix string for indentation with indent number. 2021-04-19 06:14:28 +07:00
Henrik Rydgård 8e953b2a97 Merge pull request #14383 from unknownbrackets/threadpool
Use threads more on startup to improve load time
2021-04-18 09:57:33 +02:00
Henrik Rydgård 8314a805f8 Merge pull request #14358 from unknownbrackets/debugger
Add basic APIs for managing memory info tagging
2021-04-17 18:35:38 +02:00
Unknown W. Brackets a3680ca3cb Io: Calculate memory stick size on a thread.
If you have a bunch of saves/states/etc. this might be a bit slow.
2021-04-16 01:15:23 -07:00
Unknown W. Brackets 4c1ed81d45 Module: Speed up module unload. 2021-04-16 01:03:10 -07:00
Unknown W. Brackets 4f96169357 Core: Init memory on multiple threads.
Also init volatile at the same time for consistency.
2021-04-16 00:53:50 -07:00
Unknown W. Brackets 6ee944a0a6 Module: Process relocations on threads.
There's usually quite some, and using threads can halve the load time.
ELF loading isn't terribly slow, but it adds up.
2021-04-16 00:41:56 -07:00
Unknown W. Brackets 74f08bee2a Umd: Fix thread wakeup.
Oops.  Not sure how I left this flag flipped.  Was not waking threads.
2021-04-15 11:16:56 -07:00
Henrik Rydgård 6553b0f8e8 Merge pull request #14374 from unknownbrackets/rtc-cleanup
Rtc: Cleanup and simplify date struct handling
2021-04-12 08:24:20 +02:00
Unknown W. Brackets f3f5b2e540 Rtc: Cleanup and simplify date struct handling. 2021-04-11 22:51:33 -07:00
Henrik Rydgård 7e8a94e7de Merge pull request #14366 from unknownbrackets/shader-errors
Fix some shader errors from reporting
2021-04-11 08:09:09 +02:00
Henrik Rydgård 91c17dba1f Merge pull request #14367 from unknownbrackets/reporting-kernel
Kernel: Define most reported missing kernel funcs
2021-04-11 08:07:17 +02:00
Henrik Rydgård 9783a2ec79 Merge pull request #13970 from unknownbrackets/umd-wait-stat
Correct UMD stat waiting when changing discs
2021-04-11 08:06:03 +02:00
Unknown W. Brackets ffd468c3ae Reporting: Add more info to libstubend error. 2021-04-10 18:33:44 -07:00
Unknown W. Brackets eedd0b32dd Module: Add a missing error return case. 2021-04-10 17:11:40 -07:00
Unknown W. Brackets f88648c5a2 Kernel: Define most reported missing kernel funcs.
Kernel plugins and patches are still often not going to work, but might as
well define these.
2021-04-10 17:10:35 -07:00
Unknown W. Brackets 1b4f0e25b7 Reporting: Log more data about sceIoChStat(). 2021-04-10 15:11:44 -07:00
Unknown W. Brackets 4128b5c6e6 Dialog: Reset last status more consistently.
This is only used to reduce log spam.
2021-04-07 21:22:31 -07:00
Unknown W. Brackets 90f4098b3d Dialog: Lock volatile on thread.
This means it doesn't matter if GetStatus is called.
2021-04-07 18:13:51 -07:00
Unknown W. Brackets 429b4594d0 Dialog: Use a thread to init dialogs too. 2021-04-07 18:13:46 -07:00
Henrik Rydgård 28065c1bc4 Merge pull request #14359 from unknownbrackets/dialog-cleanup
Move dialog instances to the heap
2021-04-07 09:26:07 +02:00
Unknown W. Brackets 7da25563d3 Utility: Add a helper for the active dialog. 2021-04-06 22:23:17 -07:00
Unknown W. Brackets 4200021a95 Utility: Update logging to new syntax for dialogs. 2021-04-06 22:18:28 -07:00
Unknown W. Brackets 7b5d8bc38f Utility: Move dialog classes to heap.
This makes it easier to properly reset them on game reset.
2021-04-06 21:59:40 -07:00
Unknown W. Brackets 7a1398844a Debugger: Add simple API to control tagging detail.
In case a client requires it.
2021-04-04 20:23:51 -07:00
ANR2ME 951080991a Forgot to return on invalid address, and moving reusable code out of HLE to prevent generating confusing logs 2021-04-05 04:56:11 +07:00
ANR2ME 89ca70a141 Ooops wrong way to do random range 2021-04-05 04:44:29 +07:00
ANR2ME 9e64eed432 minor fix 2021-04-05 04:44:29 +07:00
ANR2ME 824fedbef6 Randomize signal strength between 1%~99% since games like MGS:PW are using signal strength to determine the strength of the recruit 2021-04-05 04:44:28 +07:00
ANR2ME cc40d294ac Fix stuck issue when scanning AP for Recruit on MGS:PW 2021-04-05 04:44:28 +07:00
Henrik Rydgård e86e3cc7cd Merge pull request #14344 from unknownbrackets/debugger-mem
Include more memory info in debugger tags
2021-04-04 11:20:33 +02:00
Unknown W. Brackets d3edb134b1 Debugger: Maintain atrac data source info.
Often this is the file it was read from.
2021-04-03 19:19:20 -07:00