mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 15:56:00 +03:00
[PR #1154] [MERGED] Fix path bugs & wrap seeks in an if #1958
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#1958
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/1154
Author: @OFFTKP
Created: 9/29/2024
Status: ✅ Merged
Merged: 9/30/2024
Merged by: @georgemoralis
Base:
main← Head:path📝 Commits (2)
52b78eaFix path bugs1b86904Wrap most seeks in an if📊 Changes
11 files changed (+105 additions, -47 deletions)
View changed files
📝
src/common/io_file.cpp(+12 -0)📝
src/core/file_format/pkg.cpp(+31 -8)📝
src/core/file_format/pkg.h(+1 -1)📝
src/core/file_format/trp.cpp(+21 -5)📝
src/core/libraries/kernel/file_system.cpp(+12 -3)📝
src/core/loader/elf.cpp(+12 -3)📝
src/qt_gui/gui_context_menus.h(+1 -4)📝
src/qt_gui/main_window.cpp(+7 -10)📝
src/qt_gui/main_window.h(+1 -4)📝
src/qt_gui/pkg_viewer.cpp(+6 -5)📝
src/qt_gui/trophy_viewer.cpp(+1 -4)📄 Description
These were doing both a conversion from string to path and then from wstring to path.
std::string to fs::path throws an exception on windows if the path has unicode symbols.
Wrapped IOFile::Seek calls in an
ifto better bug report bad seeks.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.