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
Unknown W. Brackets
56f2d7cdac
Kernel: Allow volatile for Tlspl objects.
2022-09-20 09:05:39 -07:00
Unknown W. Brackets
3c80bd94a2
Kernel: Allow kernel/volatile VPLs as well.
2022-09-20 08:57:24 -07:00
Unknown W. Brackets
fca9b77bd2
Kernel: Allow allocating FPLs in volatile memory.
2022-09-20 08:32:01 -07:00
Unknown W. Brackets
ccd4e92184
Kernel: Use PSPPointer for status objects.
...
Code makes more sense when reading ->size rather than offset 0.
2022-09-03 10:44:12 -07:00
Henrik Rydgård
7f0f119cfe
Check for color/Z clashes
2022-07-31 10:44:06 +02:00
Unknown W. Brackets
cc7366e63c
HLE: Add a few syscall names.
2021-10-18 06:50:18 -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
Florin9doi
c0c8329f57
Remove duplicates from ThreadManForKernel
2021-01-27 22:57:04 +02:00
Henrik Rydgård
52c6169a59
Merge pull request #13241 from ANR2ME/openpsid
...
Added some missing OpenPSID nids and some stub functions
2020-12-20 14:18:13 +01:00
sum2012
d60bc6f32f
Forget this one HLE_KERNEL_SYSCALL
2020-12-20 18:17:00 +08:00
sum2012
c8d92ca09d
Add some ThreadManForKernel nis
...
Find in #13797
2020-12-20 18:14:38 +08:00
ANR2ME
051bbb6e14
Added 1 new NID of OpenPSID Service, also added Init & Shutdown function
2020-08-22 19:47:33 +07:00
sum2012
3f6c80fb07
Small mistake in sceKernelExitDeleteThread
...
oop
2020-08-18 21:22:12 +08:00
sum2012
80283d3230
Add a check in sceKernelExitDeleteThread
2020-08-18 21:03:45 +08:00
Henrik Rydgård
d8334ba66f
Merge pull request #13301 from hrydgard/more-gl-state-leaks
...
More GL state leak fixing
2020-08-18 12:58:13 +02:00
Henrik Rydgård
5313fc5b36
More work on GL state leaks. Some things really need a redesign.
2020-08-18 09:18:24 +02:00
sum2012
df1f126715
Fix sceKernelExitThread
...
fix #13297 fix #9523
According from
https://github.com/jpcsp/jpcsp/blob/master/src/jpcsp/HLE/modules/ThreadManForUser.java#L3924
2020-08-17 23:16:15 +08: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
4b4e3432cd
SaveState: Split Do() into a separate header.
2020-08-10 08:03:41 +00: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
5de721bb4c
minor fix
2020-08-01 19:50:23 +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
sum2012
122a1acef9
Add two ThreadManForKernel 's nids
...
used in #13205
2020-07-28 10:22:04 +08:00
sum2012
f025d2deee
Add some threadman's nids
...
used in #13205
2020-07-27 21:18:38 +08:00
Henrik Rydgård
1010a07f65
Expose more information on the crash screen (current kernel thread)
2020-07-12 16:47:53 +02:00
sum2012
06b6821406
Add some ThreadManForKernel nids
...
Used in "Code Geass: Lost Colors" chinese patched game
2020-06-13 21:17:56 +08:00
sum2012
5a7ed46938
Fix logging as @unknownbrackets suggest
2020-06-07 11:46:08 +08:00
sum2012
bb48006b8e
Forget HLE_KERNEL_SYSCALL flag
2020-06-07 10:37:50 +08:00
sum2012
3f6ec47f18
Wrap sceKernelExitVSHKernel
2020-06-07 10:30:55 +08:00
sum2012
29cfec9bb3
Warp some ThreadManForKernel
2020-06-07 10:14:46 +08:00
Henrik Rydgård
e0614b7ce2
Use PPSSPP's kernel interface to retrieve Heap objects
...
Allows us to get rid of DoState and the map<>.
2020-04-26 11:19:31 +02:00
Henrik Rydgård
bf73d3d663
Address Unknown's feedback
...
https://github.com/hrydgard/ppsspp/pull/7965/files
2020-04-26 11:19:31 +02:00
sum2012
a8c2c02b82
Move SysMemForKernel to sceKernelMemory
...
As SysMemForUser in there
2020-04-26 11:18:41 +02:00