From ad2caa99e09a20cd3b09b6f319d0abde6d589343 Mon Sep 17 00:00:00 2001 From: Alexey 'Cluster' Avdyukhin Date: Wed, 21 Feb 2018 23:00:58 +0300 Subject: Many different fixes --- NesMenuCollection.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'NesMenuCollection.cs') diff --git a/NesMenuCollection.cs b/NesMenuCollection.cs index ef659ff7..0bcd40db 100644 --- a/NesMenuCollection.cs +++ b/NesMenuCollection.cs @@ -61,10 +61,10 @@ namespace com.clusterrr.hakchi_gui else { root = new NesMenuCollection(); - root.AddRange(this.Where(o => !(o is NesDefaultGame))); + root.AddRange(this.Where(o => !(o is NesDefaultGame || o.GetType() == typeof(NesMiniApplication)))); if (root.Count == 0) return; - this.RemoveAll(o => !(o is NesDefaultGame)); + this.RemoveAll(o => root.Contains(o)); this.Add(new NesMenuFolder() { Name = Resources.FolderNameMoreGames, -- cgit v1.2.3