shadPS4/src/core
Lizardy 5eecd089ab
thread_management.cpp: Various Mandatory Threading Fixes | Resolve #398 (#394)
* Handle empty mutex attribute

- scePthreadMutexInit did not return default when the mutex attributes were empty, now it does

* fix conditional unsafety

* Update thread_management.cpp

fix deref

* accurate heap api

- modified HeapAPI to a struct with preset function fields
- utilized the full array parameter passed to _sceKernelRtldSetApplicationHeapAPI

* fallback to std malloc

* clang format

* Declare all HeapAPI replacement functions

- calloc, realloc, memalign, reallocalign, malloc_stats, malloc_stats_fast, malloc_usable_size
- posix_memalign corrected parameters

* resolve suggestions

- `using` definition replacement for AppHeapAPI
- linux uses heap_malloc, windows uses std::malloc

---------

Co-authored-by: microsoftv <6063922+microsoftv@users.noreply.github.com>
2024-08-13 09:08:03 +03:00
..
aerolib core: Many things (#194) 2024-06-15 14:36:07 +03:00
crypto fix system include paths 2024-06-25 18:17:16 +02:00
file_format some fixup to playgo , makes Worms go further 2024-07-26 07:53:45 +03:00
file_sys shader_recompiler: Small instruction parsing refactor/bugfixes (#340) 2024-07-30 23:32:40 +02:00
libraries thread_management.cpp: Various Mandatory Threading Fixes | Resolve #398 (#394) 2024-08-13 09:08:03 +03:00
loader moved elf logging to DebugDump fuction , which can be enabled in config . This reduces main log file a lot 2024-07-01 23:07:57 +03:00
address_space.cpp Add partial unmap support (#322) 2024-08-13 09:05:30 +03:00
address_space.h Add partial unmap support (#322) 2024-08-13 09:05:30 +03:00
cpu_patches.cpp fix tls patch on windows (#328) 2024-07-27 20:16:21 +03:00
cpu_patches.h Migrate TLS patches to new patching system. 2024-07-21 22:36:12 +03:00
linker.cpp thread_management.cpp: Various Mandatory Threading Fixes | Resolve #398 (#394) 2024-08-13 09:08:03 +03:00
linker.h thread_management.cpp: Various Mandatory Threading Fixes | Resolve #398 (#394) 2024-08-13 09:08:03 +03:00
loader.cpp - Added trophy decryption when extracting a fpkg. trp icons and xmls are dumped to game_data/<title> (can be restored if deleted by accident by opening the trophy viewer) 2024-06-10 20:42:21 -06:00
loader.h - Added trophy decryption when extracting a fpkg. trp icons and xmls are dumped to game_data/<title> (can be restored if deleted by accident by opening the trophy viewer) 2024-06-10 20:42:21 -06:00
memory.cpp Add partial unmap support (#322) 2024-08-13 09:05:30 +03:00
memory.h Add partial unmap support (#322) 2024-08-13 09:05:30 +03:00
module.cpp video_core: Implement guest buffer manager (#373) 2024-08-08 15:02:10 +03:00
module.h kernel: Implement some functions 2024-06-22 18:09:03 +03:00
platform.h gnmdriver, amdgpu: added gpu idle IRQ; submission lock logic improved 2024-07-06 18:03:34 +02:00
tls.cpp Migrate TLS patches to new patching system. 2024-07-21 22:36:12 +03:00
tls.h Migrate TLS patches to new patching system. 2024-07-21 22:36:12 +03:00
virtual_memory.cpp several fixes (#112) 2024-04-13 22:37:21 +03:00
virtual_memory.h chore: Make shadps4 REUSE compliant 2024-02-23 23:33:43 +02:00