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>2017-02-23 13:04:39 +0300
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2017-02-23 13:04:39 +0300
commitcafff85c2a2759a75ff9b31a1b7e25fcaf0a6482 (patch)
tree2cf7e3c60d9e39f21d7c4db83d8d92680edc3fbc
parent30c8ed0882afdc5534da1d2978fd2eb3659654db (diff)
Game Gear class
-rw-r--r--Apps/AppTypeCollection.cs8
-rw-r--r--Apps/GameGearGame.cs23
-rw-r--r--hakchi_gui.csproj3
3 files changed, 33 insertions, 1 deletions
diff --git a/Apps/AppTypeCollection.cs b/Apps/AppTypeCollection.cs
index fd38a69d..a405de32 100644
--- a/Apps/AppTypeCollection.cs
+++ b/Apps/AppTypeCollection.cs
@@ -109,6 +109,14 @@ namespace com.clusterrr.hakchi_gui
DefaultApp = "/bin/pce",
Prefix = 'E',
DefaultCover = Resources.blank_pce
+ },
+ new AppInfo
+ {
+ Class = typeof(GameGearGame),
+ Extensions = new string[] {".gg"},
+ DefaultApp = "/bin/gg",
+ Prefix = 'R',
+ DefaultCover = Resources.blank_app // TODO: icon for GameGear
}
};
diff --git a/Apps/GameGearGame.cs b/Apps/GameGearGame.cs
new file mode 100644
index 00000000..c07dd60b
--- /dev/null
+++ b/Apps/GameGearGame.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 GameGearGame : NesMiniApplication
+ {
+ public override string GoogleSuffix
+ {
+ get
+ {
+ return "game gear";
+ }
+ }
+
+ public GameGearGame(string path, bool ignoreEmptyConfig = false)
+ : base(path, ignoreEmptyConfig)
+ {
+ }
+ }
+}
+
diff --git a/hakchi_gui.csproj b/hakchi_gui.csproj
index 9251719e..d111c05a 100644
--- a/hakchi_gui.csproj
+++ b/hakchi_gui.csproj
@@ -73,12 +73,13 @@
<DependentUpon>AboutBox.cs</DependentUpon>
</Compile>
<Compile Include="Apps\AppTypeCollection.cs" />
+ <Compile Include="Apps\GenesisGame.cs" />
<Compile Include="Apps\PceGame.cs" />
<Compile Include="Apps\GbaGame.cs" />
<Compile Include="Apps\GbcGame.cs" />
<Compile Include="Apps\GbGame.cs" />
<Compile Include="Apps\N64Game.cs" />
- <Compile Include="Apps\GenesisGame.cs" />
+ <Compile Include="Apps\GameGearGame.cs" />
<Compile Include="Apps\SmsGame.cs" />
<Compile Include="Apps\SnesGame.cs" />
<Compile Include="Apps\NesUGame.cs" />