diff options
author | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2017-02-24 11:47:04 +0300 |
---|---|---|
committer | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2017-02-24 11:47:04 +0300 |
commit | bc3ae8bd07f78dbf8dc8afd7cd151f457200f578 (patch) | |
tree | a9ddca2e90768bc4ad9a2e2c51479fc2b6bc8fed /Apps | |
parent | 613b2de025d91b6bb5412fd79987e95da5e0671a (diff) |
Sega 32x added, images required
Diffstat (limited to 'Apps')
-rw-r--r-- | Apps/AppTypeCollection.cs | 10 | ||||
-rw-r--r-- | Apps/Sega32XGame.cs | 23 |
2 files changed, 32 insertions, 1 deletions
diff --git a/Apps/AppTypeCollection.cs b/Apps/AppTypeCollection.cs index 1ce2b9d9..0464aee1 100644 --- a/Apps/AppTypeCollection.cs +++ b/Apps/AppTypeCollection.cs @@ -80,6 +80,14 @@ namespace com.clusterrr.hakchi_gui },
new AppInfo
{
+ Class = typeof(Sega32XGame),
+ Extensions = new string[] { ".32x" },
+ DefaultApp = "/bin/32x",
+ Prefix = '3',
+ DefaultCover = Resources.blank_genesis // TODO: icon for 32X
+ },
+ new AppInfo
+ {
Class = typeof(GbGame),
Extensions = new string[] { ".gb" },
DefaultApp = "/bin/gb",
@@ -116,7 +124,7 @@ namespace com.clusterrr.hakchi_gui Extensions = new string[] {".gg"},
DefaultApp = "/bin/gg",
Prefix = 'R',
- DefaultCover = Resources.blank_app // TODO: icon for GameGear
+ DefaultCover = Resources.blank_sms // TODO: icon for GameGear
}
};
diff --git a/Apps/Sega32XGame.cs b/Apps/Sega32XGame.cs new file mode 100644 index 00000000..fc4c8f9d --- /dev/null +++ b/Apps/Sega32XGame.cs @@ -0,0 +1,23 @@ +#pragma warning disable 0108
+using com.clusterrr.hakchi_gui.Properties;
+using System.Drawing;
+
+namespace com.clusterrr.hakchi_gui
+{
+ public class Sega32XGame : NesMiniApplication
+ {
+ public override string GoogleSuffix
+ {
+ get
+ {
+ return "sega 32x";
+ }
+ }
+
+ public Sega32XGame(string path, bool ignoreEmptyConfig = false)
+ : base(path, ignoreEmptyConfig)
+ {
+ }
+ }
+}
+
|