Skip to content

overlays/home: Fix restarting games from home menu - #18369

Merged
Megamouse merged 2 commits into
RPCS3:masterfrom
Darkhost1999:Restart
Mar 17, 2026
Merged

Megamouse merged 2 commits into
RPCS3:masterfrom
Darkhost1999:Restart

Conversation

@Darkhost1999

@Darkhost1999 Darkhost1999 commented Mar 16, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #18367
And acknowledges
#13709 (comment)
Tested with Netflix and the application restarted successfully to the intended path
This was the original logic that I intended for the restart when I was adding the function before.
RPCS3.log

·! 0:00:41.002169 SYS: Unloading iso
·! 0:00:41.006336 SYS: Restart: Resetting boot path from 'C:/RPCS3/dev_hdd0/game/NPUP00030/USRDIR/rigel_loader_dll.self' to original 'C:/RPCS3/dev_hdd0/game/NPUP00030/USRDIR/EBOOT.BIN'
·! 0:00:41.006455 SYS: Selected config: mode=custom config, path=""
·! 0:00:41.006461 SYS: Path: C:/RPCS3/dev_hdd0/game/NPUP00030/USRDIR/EBOOT.BIN

@Darkhost1999

Copy link
Copy Markdown
Contributor Author

I guess there is still 1 problem with this logic. If I change games to a different game for example from Kingdom Hearts to South Park Stick of truth then click restart it'll restart Kingdom Hearts instead of South Park

@Darkhost1999
Darkhost1999 marked this pull request as draft March 16, 2026 17:56
@Darkhost1999

Copy link
Copy Markdown
Contributor Author

I compiled and tested locally.
Booted Killzone then booted South Park. Restart game from home menu restarted South Park instead of Killzone now.
I tested batch compiling LLVM cache that still works as intended.
I booted a game then booted the triangle test. Triangle test restarts successfully instead of the game.
Everything seems good now.

@Darkhost1999
Darkhost1999 marked this pull request as ready for review March 16, 2026 19:03
@Megamouse
Megamouse self-requested a review March 16, 2026 22:39
@Megamouse Megamouse added the Loader Involving the load of PS3 file formats label Mar 16, 2026
@kd-11 kd-11 changed the title Restart Games from home menu overlays/home: Fix restarting games from home menu Mar 17, 2026
@kd-11

kd-11 commented Mar 17, 2026

Copy link
Copy Markdown
Contributor

@Darkhost1999 Squash your commits into a single one then rebase. We can also do it for you, but that's just the cleaner way to do it.

@Darkhost1999

Copy link
Copy Markdown
Contributor Author

Got it

@kd-11

kd-11 commented Mar 17, 2026

Copy link
Copy Markdown
Contributor

Btw this is a good scenario to make use of utils::deferred_op to define the at-exit logic once instead of repeating it over and over for each exit point.
@Megamouse

@Megamouse Megamouse left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm sure there's more to fix with all restart options, but I think it's fine for now.

@digant73

Copy link
Copy Markdown
Contributor

@Darkhost1999 convert Addresses #18367 to fixes #18367

so that issue is automatically closed when this PR is merged

@Megamouse
Megamouse merged commit 6523afa into RPCS3:master Mar 17, 2026
10 checks passed
@Darkhost1999
Darkhost1999 deleted the Restart branch March 17, 2026 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Loader Involving the load of PS3 file formats

Projects

None yet

Development

Successfully merging this pull request may close these issues.

the sims 3 restart from overlay menu, cannot decrypt self

4 participants