Fix self updating ncch app jump

This commit is contained in:
PabloMK7 2022-10-21 01:12:29 +02:00
parent c49379442d
commit d396944487
5 changed files with 29 additions and 13 deletions

View file

@ -306,9 +306,12 @@ public:
void LoadState(u32 slot);
/// Self delete ncch
void SetSelfDelete(const std::string& file) {
if (m_filepath == file)
bool SetSelfDelete(const std::string& file) {
if (m_filepath == file) {
self_delete_pending = true;
return true;
}
return false;
}
private: