hrydgard / ppsspp

A PSP emulator for Android, Windows, Mac and Linux, written in C++. Want to contribute? Join us on Discord at https://discord.gg/5NJB6dD or just send pull requests / issues. For discussion use the forums at forums.ppsspp.org.
https://www.ppsspp.org
Other
11.04k stars 2.15k forks source link

Feature request: exit back to frontend #19378

Open devanteweary opened 1 month ago

devanteweary commented 1 month ago

What should happen

Just a simple request to have PPSSPP quit the game back to whatever frontend is used rather than the PPSSPP menu.

Currently, PPSSPP exits the game to the PPSSPP menu. Then closing THAT goes to the EmulationStation menu (in my case).

Who would this benefit

Everyone. Just a quick little QoL suggestion to save a click. That's it!!!

Thank you for probably THE best emulator overall!!!!

Platform (if relevant)

None

Games this would be useful in

All Games

Other emulators or software with a similar feature

For example, using EmulationStation and loading the game into Dolphin, once you quit the game, it'll go back into EmulationStation rather than the Dolphin menu.

Checklist

LunaMoo commented 1 month ago

It exists and existed for a very long time, you can check commands for use with frontends/shortcuts in here: https://github.com/hrydgard/ppsspp/blob/52cf10274c342c1dd97d91c273b109d5c859d227/UI/NativeApp.cpp#L592

I don't know how Retroarch works, it's probably up to their choice, commands will work when using proper PPSSPP emulator with any frontend that can pass those commands and that's the issue by description, as such closing.

devanteweary commented 1 month ago

It exists and existed for a very long time, you can check commands for use with frontends/shortcuts in here:

https://github.com/hrydgard/ppsspp/blob/52cf10274c342c1dd97d91c273b109d5c859d227/UI/NativeApp.cpp#L592

I don't know how Retroarch works, it's probably up to their choice, commands will work when using proper PPSSPP emulator with any frontend that can pass those commands and that's the issue by description, as such closing.

I'm so dumb... I didn't mean Retroarch. Ignore that part! I just meant exit back to the front end.

I see now that that option is in the code? (sorry, not familiar with coding)

So maybe I should relist this as a bug then?

Using a Retroid 4 Pro, Android 13, EmulationStation as my frontend, and the awesome standalone PPSSPP v1.17.1 (paid version if that matters - NOT the Retroarch version).

If I load the game via EmulationStation, play a little, then in PPSSPP go to Menu > Exit to Menu (this is the only exit-type option available), it goes back to the PPSSPP main menu showing the PSP games rather than the EmulationStation menu.

Speaking of Retroarch, I guess you could explain my original request as the same option Retroarch has called "Closing content/game exits Retroarch".

Think I should repost as a bug?

hrydgard commented 1 month ago

What LunaMoo is saying, is that if you pass the command line argument --escape-exit, it should do what you want. This is unrelated to RetroArch.

However, I reopened in case that's not working for some reason. Close if it does work for you.

hrydgard commented 1 month ago

Oh, if Android is involved (why?) you need a different approach. I think there's already an issue about it but can't find it right now

devanteweary commented 1 month ago

Oh, if Android is involved (why?) you need a different approach. I think there's already an issue about it but can't find it right now

Whoops just saw this.

Well I mean PPSSPP is on Android. :P' In fact I love it so much I got the Gold version.