mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-27 00:36:00 +03:00
[PR #696] [CLOSED] Fix segfault when unable to find PFSCOffset in pfs_image #1719
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#1719
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/696
Author: @Mariuspersen
Created: 8/31/2024
Status: ❌ Closed
Base:
main← Head:main📝 Commits (5)
481e18avideo_core: Some bloodborne hacksba89552Fix segfault when unable to find PFSCOffset in pfs_imaged920a9eUpdate pkg.cpp7b06002Merge branch 'main' into bb-hacks733fe47bb-hacks📊 Changes
5 files changed (+87 additions, -2 deletions)
View changed files
📝
.gitignore(+1 -0)📝
src/core/file_format/pkg.cpp(+5 -0)📝
src/core/libraries/kernel/thread_management.cpp(+9 -0)📝
src/video_core/renderer_vulkan/vk_compute_pipeline.cpp(+69 -1)📝
src/video_core/renderer_vulkan/vk_pipeline_cache.cpp(+3 -1)📄 Description
Had a situation where the PKG I had was corrupted or for some reason the magic number could not be found.
There is no error checking if GetPFSCOffset returns -1 causing a segfault.
This pull request adds a error message if anyone else encounters this problem
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.