mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 08:15:59 +03:00
[PR #2404] [MERGED] memory: Log for sceKernelMapNamedDirectMemory in more cases. #2706
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#2706
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/2404
Author: @squidbus
Created: 2/12/2025
Status: ✅ Merged
Merged: 2/12/2025
Merged by: @georgemoralis
Base:
main← Head:mem-log📝 Commits (1)
032a18dmemory: Log for sceKernelMapNamedDirectMemory in more cases.📊 Changes
1 file changed (+11 additions, -9 deletions)
View changed files
📝
src/core/libraries/kernel/memory.cpp(+11 -9)📄 Description
Moves logging of input parameters in
sceKernelMapNamedDirectMemoryup to the top, to make sure they still get logged in the case of an invalid input or an assert while mapping memory. It has been difficult with this function to tell what caused a particular crash because none of the actual inputs get logged.Also, moved the output address logging out of
SCOPE_EXIT, as this is causing it to confusingly log withoperator()instead of the actual function name.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.