Fix chainloading for all apps

This commit is contained in:
PabloMK7 2022-10-23 22:55:50 +02:00
parent d396944487
commit fd7ada2a9c
3 changed files with 29 additions and 23 deletions

View file

@ -125,7 +125,8 @@ public:
bool SendSignal(Signal signal, u32 param = 0);
/// Request reset of the system
void RequestReset() {
void RequestReset(const std::string& chainload = "") {
m_chainloadpath = chainload;
SendSignal(Signal::Reset);
}
@ -382,6 +383,7 @@ private:
/// Saved variables for reset
Frontend::EmuWindow* m_emu_window;
std::string m_filepath;
std::string m_chainloadpath;
u64 title_id;
bool self_delete_pending;