mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 15:56:00 +03:00
[PR #2162] [CLOSED] Return error codes to game from map/unmap memory functions #2526
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#2526
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/2162
Author: @mailwl
Created: 1/16/2025
Status: ❌ Closed
Base:
main← Head:ret_error_from_map_unmap📝 Commits (4)
988f66dReturn error codes to guest from map/unmap memory instead crash6287085Log errors in map/unmap memory functions2127b5fChange error text in unmap memory function53be1f1Fix error code📊 Changes
1 file changed (+12 additions, -4 deletions)
View changed files
📝
src/core/memory.cpp(+12 -4)📄 Description
Looks like Unity 2020+ games expects errors from map/unmap functions, this PR feeds it.
This should help with games like https://github.com/shadps4-emu/shadps4-game-compatibility/issues/2015 with crash like:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.