[PR #2244] [MERGED] emulator: Use correct game folder mount when opening update eboot directly. #2591

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/2244
Author: @squidbus
Created: 1/26/2025
Status: Merged
Merged: 1/26/2025
Merged by: @georgemoralis

Base: mainHead: upd-fix


📝 Commits (1)

  • 98e49b9 emulator: Use correct game folder mount when opening update eboot directly.

📊 Changes

1 file changed (+14 additions, -2 deletions)

View changed files

📝 src/emulator.cpp (+14 -2)

📄 Description

Got a game that has an elf file separate from the default eboot.bin, and have been loading it by using the Boot Game option to pick the right file. I noticed that when this is done for an elf file in a separate update directory, it mounts the update directory to /app0/ and fails to get any files it needs to from the base game. This fixes the issue by checking if the launched executable is in an update directory and finding the base game directory to use as the /app0/ mount.


🔄 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/2244 **Author:** [@squidbus](https://github.com/squidbus) **Created:** 1/26/2025 **Status:** ✅ Merged **Merged:** 1/26/2025 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `upd-fix` --- ### 📝 Commits (1) - [`98e49b9`](https://github.com/shadps4-emu/shadPS4/commit/98e49b91f8caecc058606a89d6a6501d2d10b614) emulator: Use correct game folder mount when opening update eboot directly. ### 📊 Changes **1 file changed** (+14 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/emulator.cpp` (+14 -2) </details> ### 📄 Description Got a game that has an elf file separate from the default `eboot.bin`, and have been loading it by using the Boot Game option to pick the right file. I noticed that when this is done for an elf file in a separate update directory, it mounts the update directory to `/app0/` and fails to get any files it needs to from the base game. This fixes the issue by checking if the launched executable is in an update directory and finding the base game directory to use as the `/app0/` mount. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:00:30 +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#2591
No description provided.