mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 08:15:59 +03:00
[PR #557] [MERGED] core/kernel: Miscellaneous memory fixes #1633
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#1633
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/shadps4-emu/shadPS4/pull/557
Author: @polybiusproxy
Created: 8/24/2024
Status: ✅ Merged
Merged: 8/26/2024
Merged by: @raphaelthegreat
Base:
main← Head:kernel/memory-fixes📝 Commits (5)
20ef4cccore/libraries/kernel: Fix inaccurate direct memory size7cd7323core/memory: Fix available dmem query on non-free dmem areas902d279core/kernel: return ENOMEM if memory area size is zerobe1994fcore/kernel: Fix returns onsceKernelAvailableDirectMemorySizea6b3ecccore/memory: Remove unneeded size alignment📊 Changes
3 files changed (+19 additions, -5 deletions)
View changed files
📝
src/core/libraries/kernel/memory_management.cpp(+13 -4)📝
src/core/libraries/kernel/memory_management.h(+1 -1)📝
src/core/memory.cpp(+5 -0)📄 Description
This PR:
sceKernelGetDirectMemorySize).sceKernelAvailableDirectMemorySizealso accounted for non-free direct memory areas.sceKernelAvailableDirectMemorySizedid not returnENOMEM.Fixes Rock Band 4 (CUSA02084) not booting on version 2.21.
Fixes DRAGON BALL FighterZ (CUSA09072) memory allocations (at @StevenMiller123).
Fixes JoJo's Bizarre Adventure: Eyes of Heaven (CUSA04909) not booting.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.