[PR #3258] [MERGED] If CONTENT_ID is empty in param.sfo, try using TITLE_ID as fallback #3343

Closed
opened 2026-02-27 22:03:21 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/3258
Author: @kalaposfos13
Created: 7/16/2025
Status: Merged
Merged: 7/16/2025
Merged by: @georgemoralis

Base: mainHead: title-id-fallback


📝 Commits (2)

  • e6443ee If CONTENT_ID is empty in param.sfo, try using TITLE_ID as fallback
  • 55acaff Remove assert that is now not needed and fix me switching up variable names

📊 Changes

1 file changed (+6 additions, -3 deletions)

View changed files

📝 src/emulator.cpp (+6 -3)

📄 Description

Honestly I have no idea why CONTENT_ID is used here in the first place, TITLE_ID is literally just the exact same thing except there's no need to use substring
Fixes a crash when trying to open firmware apps whose CONTENT_IDs are empty


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/3258 **Author:** [@kalaposfos13](https://github.com/kalaposfos13) **Created:** 7/16/2025 **Status:** ✅ Merged **Merged:** 7/16/2025 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `title-id-fallback` --- ### 📝 Commits (2) - [`e6443ee`](https://github.com/shadps4-emu/shadPS4/commit/e6443ee4c93ef8a71b303823d84ee442e43dc87c) If CONTENT_ID is empty in param.sfo, try using TITLE_ID as fallback - [`55acaff`](https://github.com/shadps4-emu/shadPS4/commit/55acaff298478f757d2df03c01bdd18ae7055ed3) Remove assert that is now not needed and fix me switching up variable names ### 📊 Changes **1 file changed** (+6 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `src/emulator.cpp` (+6 -3) </details> ### 📄 Description Honestly I have no idea why CONTENT_ID is used here in the first place, TITLE_ID is literally just the exact same thing except there's no need to use substring Fixes a crash when trying to open firmware apps whose CONTENT_IDs are empty --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:03:21 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#3343
No description provided.