cfg: Update preferred region data on-demand. (#7206)

This commit is contained in:
Steveice10 2023-11-24 23:10:58 -08:00 committed by GitHub
parent 68e6a2185d
commit c0ecdb689d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 66 additions and 59 deletions

View file

@ -91,6 +91,14 @@ public:
*/
virtual FileType GetFileType() = 0;
/**
* Returns the preferred region codes of this file
* @return A vector of the preferred region codes
*/
[[nodiscard]] virtual std::span<const u32> GetPreferredRegions() const {
return {};
}
/**
* Load the application and return the created Process instance
* @param process The newly created process.