Fix auto updating ncch files
This commit is contained in:
parent
67c4b87184
commit
c49379442d
5 changed files with 24 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue