Files
shadPS4/src/core/libraries/kernel
Stephen Miller 0e315cbd8f sceKernelReleaseDirectMemory fix (#2623)
* Fix error return on sceKernelMunmap

FreeBSD docs state that len <= 0 is a EINVAL return.

* Early return on ReleaseDirectMemory with len = 0

Calls to these two functions with len = 0 cause an assert in CarveDmemArea. Since there's no memory to release, an early return should be safe here.

* Remove check for negative length in munmap

Addresses review comment
2025-03-09 15:12:05 +02:00
..
2025-01-16 18:27:52 +02:00
2025-01-16 18:27:52 +02:00
2025-02-03 17:37:28 +02:00
2025-02-03 17:37:28 +02:00
2025-01-21 21:14:05 +01:00
2025-01-17 22:16:07 -08:00
2024-11-30 22:37:36 +02:00
2024-11-30 22:37:36 +02:00
2024-11-30 22:37:36 +02:00
2025-01-16 18:27:52 +02:00