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.41k stars 2.19k forks source link

ImGui integration prototype #19569

Closed hrydgard closed 2 weeks ago

hrydgard commented 3 weeks ago

To allow building debugging tools using Dear ImGui. This will NOT replace PPSSPP's main UI, this is only going to be for easily throwing together debug UI in the future. While PPSSPP's UI system is quite nice for both touch and desktop, it's not really good for dense debugger-like UI, and also isn't nearly as quick to use as ImGui.

Since ImGui always needs some custom patching, I'm not using a submodule.

Also, not using a pre-existing integration, instead writing it on top of PPSSPP's existing cross platform wrapper code, to minimize duplication.

The intention is to eventually add a proper cross-platform debugger, and maybe one day remove the Win32 one.

LunaMoo commented 2 weeks ago

Nice, can this (in the future ) be exposed in a scripting system, so people can easily create some custom gui elements, for example to display in-game stats or trainer-like menus?

hrydgard commented 2 weeks ago

Yeah, should be possible. Although, the resulting UIs will not be very mobile friendly I guess... So maybe we define some other set of exposable UI. Not sure.