[PR #1639] [MERGED] playgo: Fix loading PlayGo file. #2219

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/1639
Author: @squidbus
Created: 12/1/2024
Status: Merged
Merged: 12/1/2024
Merged by: @raphaelthegreat

Base: mainHead: fix-playgo


📝 Commits (1)

  • fd2ec5b playgo: Fix loading PlayGo file.

📊 Changes

3 files changed (+30 additions, -31 deletions)

View changed files

📝 src/core/file_format/playgo_chunk.h (+0 -1)
📝 src/core/libraries/playgo/playgo.cpp (+30 -23)
📝 src/emulator.cpp (+0 -7)

📄 Description

Recent cleanup made the PlayGo implementation stop using the PlayGoFile singleton, which the file is read to on startup, instead using a new instance that is never read to. This broke games that check PlayGo for file info as they would always receive an error that it was not supported.

Adds code to read the file on scePlayGoInitialize and removes the old singleton read code. Also fixes up how its being checked if PlayGo is initialized.

Tested with The Last Guardian.


🔄 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/1639 **Author:** [@squidbus](https://github.com/squidbus) **Created:** 12/1/2024 **Status:** ✅ Merged **Merged:** 12/1/2024 **Merged by:** [@raphaelthegreat](https://github.com/raphaelthegreat) **Base:** `main` ← **Head:** `fix-playgo` --- ### 📝 Commits (1) - [`fd2ec5b`](https://github.com/shadps4-emu/shadPS4/commit/fd2ec5be37fd5a81acc5df1a570ce5e2fdfba77f) playgo: Fix loading PlayGo file. ### 📊 Changes **3 files changed** (+30 additions, -31 deletions) <details> <summary>View changed files</summary> 📝 `src/core/file_format/playgo_chunk.h` (+0 -1) 📝 `src/core/libraries/playgo/playgo.cpp` (+30 -23) 📝 `src/emulator.cpp` (+0 -7) </details> ### 📄 Description Recent cleanup made the PlayGo implementation stop using the `PlayGoFile` singleton, which the file is read to on startup, instead using a new instance that is never read to. This broke games that check PlayGo for file info as they would always receive an error that it was not supported. Adds code to read the file on `scePlayGoInitialize` and removes the old singleton read code. Also fixes up how its being checked if PlayGo is initialized. Tested with The Last Guardian. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:15:38 +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#2219
No description provided.