Don't show "extra" files from DirectoryBlobs in game list

For instance, we don't want to show TGC files that might be
inside the /files/ directory of a GameCube DirectoryBlob,
and we don't want to show the /sys/main.dol files for extra
partitions of Wii DirectoryBlobs.
This commit is contained in:
JosJuice
2017-06-11 14:45:42 +02:00
parent 1ea44f425d
commit 5fe3745750
5 changed files with 96 additions and 12 deletions

View File

@ -27,6 +27,9 @@ namespace DiscIO
{
enum class PartitionType : u32;
// Returns true if the path is inside a DirectoryBlob and doesn't represent the DirectoryBlob itself
bool ShouldHideFromGameList(const std::string& volume_path);
class DiscContent
{
public: