loader: add NpdmUtils function for invalidating the cache for a specific title
This commit is contained in:
@@ -500,4 +500,10 @@ u32 NpdmUtils::GetApplicationTypeRaw(u32 *caps, size_t num_caps) {
|
||||
}
|
||||
}
|
||||
return application_type;
|
||||
}
|
||||
}
|
||||
|
||||
void NpdmUtils::InvalidateCache(u64 tid) {
|
||||
if (g_npdm_cache.info.title_id == tid) {
|
||||
g_npdm_cache.info = (const NpdmUtils::NpdmInfo){0};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user