Fix auto updating ncch files

This commit is contained in:
PabloMK7 2022-10-20 23:14:57 +02:00
parent 67c4b87184
commit c49379442d
5 changed files with 24 additions and 1 deletions

View file

@ -305,6 +305,12 @@ public:
void LoadState(u32 slot);
/// Self delete ncch
void SetSelfDelete(const std::string& file) {
if (m_filepath == file)
self_delete_pending = true;
}
private:
/**
* Initialize the emulated system.
@ -374,6 +380,7 @@ private:
Frontend::EmuWindow* m_emu_window;
std::string m_filepath;
u64 title_id;
bool self_delete_pending;
std::mutex signal_mutex;
Signal current_signal;