Commit graph

351 commits

Author SHA1 Message Date
Henrik Rydgård
088a02bfdb Cleanup a lot of the bootup state management. 2025-03-30 14:02:29 +02:00
Henrik Rydgård
4b123a2e09 Move the sceSas error codes into the big enum 2025-03-25 12:04:33 +01:00
Henrik Rydgård
63c4b2e9b3 Move SSL error codes to the big enumt 2025-03-21 20:45:23 +01:00
Henrik Rydgård
0f840e6240 Move JPEG error codes to the big enum, some include cleanup 2025-03-21 20:44:46 +01:00
Henrik Rydgård
999bf59ae1 Move mutex error codes into the big enum 2025-03-21 20:44:46 +01:00
Henrik Rydgård
82728652d8 Move Font and Psmf error codes to the big enum 2025-03-21 20:44:46 +01:00
Henrik Rydgård
ea198dd593 Add mpeg error codes to the big enum 2025-03-21 20:44:46 +01:00
Henrik Rydgård
b99348383c Some new findings, loop work 2025-03-18 09:36:33 +01:00
Henrik Rydgård
adbceabd93 Show fake-loaded HLE modules in the debugger. Notify Atrac of its address when one is loaded
Will be useful later.
2025-03-15 15:56:11 +01:00
Henrik Rydgård
0f9c97c2a0 Another big batch of logging cleanup 2025-03-05 17:02:46 +01:00
Henrik Rydgård
47ef0e9b6e More logging refactoring 2025-03-05 17:02:46 +01:00
Henrik Rydgård
6ddfcca0e7 Logspam fix 2025-03-05 14:02:17 +01:00
Henrik Rydgård
5ac7b8b9ee Rename the Atrac errors to match the pattern 2025-02-24 12:49:44 -06:00
Henrik Rydgård
59a4eb0ea5 Add Atrac error codes to the big enum 2025-02-24 12:07:21 -06:00
Henrik Rydgård
c3708f741b Convert sceMp4 to new style hle logging 2025-02-14 09:50:55 -06:00
Henrik Rydgård
d1e5b45b4b Consolidate the last spread-out error codes. 2025-02-04 12:34:49 -06:00
Henrik Rydgård
d2c1c7b54f Consolidate even more error codes 2025-02-04 12:32:11 -06:00
Henrik Rydgård
a18eb97be3 Consolidate more error codes into the big enum 2025-02-04 12:11:22 -06:00
Henrik Rydgård
b2b0ff1753 Consolidate error codes in ErrorCodes.h 2025-02-04 11:53:00 -06:00
Henrik Rydgård
77e75ad104 Add a function converting syscall error codes to strings. 2025-01-28 17:09:52 +01:00
Henrik Rydgård
3ce72f87d3 Another batch of log cleanup 2025-01-28 09:31:38 +01:00
Henrik Rydgård
5ffd9a2d72 Reset Np state on init, this was missing. 2025-01-21 17:41:53 +01:00
Henrik Rydgård
2b5b2a8fa5 Add a "pedantic" self-check mode, improve logging some more. 2025-01-20 12:20:21 +01:00
Henrik Rydgård
ff8b51e6b7 Some logging cleanup in kernel 2025-01-19 14:54:09 +01:00
AdamN
98dba643f4 Just the sceUtility changes from ANR2ME's branch 2025-01-06 14:38:45 +01:00
ANR2ME
0012818eb7 Implement sceHttp library 2025-01-05 19:14:15 +01:00
Nemoumbra
96f9749e2e Split out the matching code from sceNetAdhoc.cpp 2025-01-03 04:59:26 +03:00
Henrik Rydgård
0df2a40487 Remove the "GPUInterface" base class. Not really useful, GPUCommon is pretty much the same thing. 2024-12-02 11:12:14 +01:00
Henrik Rydgård
a74e4a105c ImDebugger register window: Show fpcond on FPU tab. Fix display issue in kernelobj window 2024-11-26 08:41:39 +01:00
Henrik Rydgård
e95d9b15b4 Add kernel object viewer, reimpl "Run to here" 2024-11-26 00:13:37 +01:00
Henrik Rydgård
5939270d2c Log: Split out StdioListener from ConsoleListener, making the second Win32-only. 2024-07-21 13:55:40 +02:00
Henrik Rydgård
e01ca5b057
Logging API change (refactor) (#19324)
* Rename LogType to Log

* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.

* Mac/ARM64 buildfix

* Do the same with the hle result log macros

* Rename the log names to mixed case while at it.

* iOS buildfix

* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +02:00
Henrik Rydgård
0080f71ca4 Implement FPU rounding mode support in the IR interpreter for x86/x64 2024-06-19 18:09:38 +02:00
Henrik Rydgård
a059750f5a Add basic checkbox UI for GPI switched, add display of GPO LEDs
Try it with Parappa.
2024-05-12 18:01:25 +02:00
Henrik Rydgård
32ca7ab59a Minor code cleanups 2024-04-10 12:07:03 +02:00
Henrik Rydgård
971320cf66 Fix memory leak on shutdown in sceHeap 2024-04-02 12:02:19 +02:00
Henrik Rydgård
3ce843819e Show a notification if a game exits with sceKernelExitGame. Mainly useful for homebrew. 2024-01-15 10:36:32 +01:00
Unknown W. Brackets
83946eeef8 Core: Reduce log spam on exit.
This doesn't need to be INFO.
2023-08-19 16:15:49 -07:00
Henrik Rydgård
9bd67df5b2 Achievement savestate fixes 2023-07-08 21:47:16 +02:00
Unknown W. Brackets
725f1059d6
Kernel: Use lower profiler func timing. 2023-07-08 06:20:17 -07:00
Henrik Rydgård
270382b958 Remove delays in sceKernelReferThreadProfiler/ReferGlobalProfiler.
This fixes timing in the MLB games, but is inconsistent with testing :(

See issue #17623
2023-07-08 11:26:47 +02:00
Henrik Rydgård
51e9370198 Remove the unused parameter 2023-07-05 11:51:51 +02:00
Henrik Rydgård
7daaab96d5 Fix performance issue in MLB 2k games with profiler funcs
The two functions sceKernelReferThreadProfiler and
sceKernelReferGlobalProfiler are spammed by this game. So let's reduce
logging to DEBUG and delay the response by a tested number of ms.

Fixes #17623
2023-07-05 11:45:46 +02:00
Henrik Rydgård
6945deec01 Replace a LOT of sprintf with snprintf, and a few strcpy with truncate_cpy 2023-04-28 21:04:05 +02:00
Henrik Rydgård
2814668cf5
Show a MIPS stack trace on crash screen (#17211)
* Print simple stack traces to log on crashes.

* Display stack traces on crash screen

* Show the in-function offset in the printed callstacks.

* Libretro buildfix attempt
2023-03-31 10:08:12 +02:00
Unknown W. Brackets
0496ca32ff Global: Cleanup some minor includes and typos. 2022-12-27 08:33:07 -08:00
Unknown W. Brackets
91bfa3ee49 Kernel: Stop reporting invalid semaphore names. 2022-10-16 08:48:15 -07:00
Unknown W. Brackets
a000c32820 Kernel: Stop reporting invalid mutex names.
We know this behavior is correct, let's just make it logging.
2022-10-16 08:40:01 -07:00
Unknown W. Brackets
c4bf2cb5c0 jit: Ignore zero byte icache invalidates.
These were getting marked pending and were clearing all cache, causing
performance concerns in for example LittleBigPlanet.
2022-10-15 18:27:52 -07:00
Unknown W. Brackets
251cc73afd Kernel: Allow volatile for MsgPipe buffers. 2022-09-20 09:20:05 -07:00