mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 00:05:58 +03:00
[PR #3041] [MERGED] libSceZlib: Fix Queues #3171
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#3171
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/3041
Author: @StevenMiller123
Created: 6/5/2025
Status: ✅ Merged
Merged: 6/5/2025
Merged by: @georgemoralis
Base:
main← Head:zlib-fix📝 Commits (1)
4ae425bFix request queues in libSceZlib📊 Changes
1 file changed (+2 additions, -2 deletions)
View changed files
📝
src/core/libraries/zlib/zlib.cpp(+2 -2)📄 Description
Queues are a FIFO data structure, so pop() removes the front, not the end. Therefore, we should be getting from the front of a queue before calling pop(), not the back.
Fixing this issue fixes a strange memory issue observed in Rise of the Tomb Raider (CUSA09193), though the game doesn't get much further yet.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.