shadPS4/src/core
Stephen Miller 99b90cbd5c
Minor libkernel changes (#2721)
* sceKernelDebugOutText

Some homebrew use this for logging, and these logs do show up in console klogs.
I wasn't sure where the most suitable place for this function would be, so I made a separate file for these debug functions.

* Implement kernel exit

Some homebrew I have use this exit when an error occurs. Since actually closing the emulator isn't implemented yet, I've used an unreachable message that logs the status code.
I've placed it in process.cpp for now, let me know if I should change that.

* Improved implementations for sceKernelDebugRaiseException functions

These functions take in two parameters, an error code and some other value that I have no idea what is for. If that second parameter is not zero, they return ORBIS_KERNEL_ERROR_EINVAL before any calls to mdbg_service.
These improved implementations add the early error return and a message with the error code to the unreachable.

* Add missing exports

Homebrew apps like to use these kernel exports of posix functions instead.

* Clang
2025-03-30 01:27:33 +02:00
..
aerolib fix typo in LOG_INFO (#559) 2024-08-26 15:22:11 +03:00
devices remove BADF return 2025-01-21 19:30:34 +01:00
devtools Gui: Adding Pause button working, full screen button and labels to buttons on main window gui (#2634) 2025-03-26 23:50:52 +02:00
file_format externals: Remove need for cryptopp build. (#2707) 2025-03-29 10:32:06 +02:00
file_sys Handle "-patch" as the suffix for game update folders (#2674) 2025-03-23 23:24:49 +02:00
libraries Minor libkernel changes (#2721) 2025-03-30 01:27:33 +02:00
loader Fix path bugs & wrap seeks in an if (#1154) 2024-09-30 12:42:59 +03:00
address_space.cpp address_space: Split macOS reserved memory region. (#2372) 2025-02-08 13:21:32 -08:00
address_space.h renderer_vulkan: Commize and adjust buffer bindings (#1412) 2024-10-19 15:30:58 +03:00
cpu_patches.cpp cpu_patches: Simplify and remove some restrictions on macOS. (#2591) 2025-03-04 13:25:51 +02:00
cpu_patches.h core: Library cleanup (#1631) 2024-11-30 22:37:36 +02:00
debug_state.cpp Fix showing debug menu bar / Devtools (#2214) 2025-01-22 22:21:41 -03:00
debug_state.h FidelityFX FSR implementation (#2624) 2025-03-12 20:33:30 +02:00
linker.cpp libkernel: improve module finding in sceKernelLoadStartModule (#2541) 2025-03-09 23:44:17 +02:00
linker.h libkernel: improve module finding in sceKernelLoadStartModule (#2541) 2025-03-09 23:44:17 +02:00
memory.cpp Add isDevKit bool (#2685) 2025-03-26 22:50:21 +02:00
memory.h memory: Implement protecting multiple VMAs (#2484) 2025-02-21 08:28:47 +02:00
module.cpp externals: Remove need for cryptopp build. (#2707) 2025-03-29 10:32:06 +02:00
module.h libkernel: improve module finding in sceKernelLoadStartModule (#2541) 2025-03-09 23:44:17 +02:00
platform.h Support for Vulkan 1.4 (#1665) 2024-12-07 19:41:41 +02:00
signals.cpp Bump to Clang 19 (#2434) 2025-02-18 15:55:13 +02:00
signals.h Patch extrq (#943) 2024-09-23 19:19:52 +03:00
thread.cpp exception: Fix raising exceptions on POSIX systems (#1868) 2024-12-25 00:21:32 +02:00
thread.h Switch remaining CRLF terminated files to LF 2024-12-24 13:56:31 +01:00
tls.cpp kernel: Rewrite pthread emulation (#1440) 2024-11-21 22:59:38 +02:00
tls.h core/libraries: HLE fiber reimplementation (#1836) 2024-12-24 13:33:00 +01:00