mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 15:56:00 +03:00
[PR #2321] [MERGED] Fork detection: Fix Windows naming + add a new check for fork detection #2650
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#2650
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/2321
Author: @kalaposfos13
Created: 2/1/2025
Status: ✅ Merged
Merged: 2/3/2025
Merged by: @georgemoralis
Base:
main← Head:fork-detection-fix-2📝 Commits (3)
927e87dPossible fix for Windows398944cCheck if remote.pushDefault is set when generating the remote link48629b9Remove left-in lines I missed before📊 Changes
3 files changed (+27 additions, -8 deletions)
View changed files
📝
CMakeLists.txt(+13 -2)📝
src/emulator.cpp(+7 -3)📝
src/qt_gui/main_window.cpp(+7 -3)📄 Description
I saw some screenshots on Discord which had the shadps4-emu/main text instead of just main in the window title, and I think this might be due to Windows handling Git remote links slightly differently, so I changed the code to first extract the name, and then check only that, instead of the full link. I don't actually know if this will fix the issue, but I certainly hope it will.

I also found a possible reason as to why @StevenMiller123's local builds fail to find the remote link even though his push defaults were set, and it is now included as the second thing to check if the branch doesn't explicitly have a remote pair defined.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.