Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/hakchi2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2018-02-21 23:00:58 +0300
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2018-02-21 23:00:58 +0300
commitad2caa99e09a20cd3b09b6f319d0abde6d589343 (patch)
treedeed3604a9597c14323ce8f09e71b2f5c136f139 /NesMenuCollection.cs
parent855ec1bcd2ba2f060966e024aec732833d2eecee (diff)
Many different fixes
Diffstat (limited to 'NesMenuCollection.cs')
-rw-r--r--NesMenuCollection.cs4
1 files changed, 2 insertions, 2 deletions
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,