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
path: root/Apps
diff options
context:
space:
mode:
authorAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2017-10-09 05:05:39 +0300
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2017-10-09 05:05:39 +0300
commit4b3a7c567d13bad64a55d70b4b7854a51a520be3 (patch)
treee9227e5ea85d470eb6d91d4a36d1c6f8f03f49e1 /Apps
parentafb1d8a8b5fde2e4d49ad9c42e29d64f65074718 (diff)
remove_thumbnail fix for NES Mini
Diffstat (limited to 'Apps')
-rw-r--r--Apps/SnesGame.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/Apps/SnesGame.cs b/Apps/SnesGame.cs
index 8249e7b7..e63e4c9c 100644
--- a/Apps/SnesGame.cs
+++ b/Apps/SnesGame.cs
@@ -46,7 +46,7 @@ namespace com.clusterrr.hakchi_gui
{ "ZELDANODENSETSU", 0x101F },
{ "SHVC FIREEMBLEM", 0x102B },
{ "SUPER DONKEY KONG", 0x1023 },
- { "Super Street Fighter", 0x1056 },
+ //{ "Super Street Fighter", 0x1056 },
{ "ROCKMAN X", 0x110A },
{ "CHOHMAKAIMURA", 0x1004 },
{ "SeikenDensetsu 2", 0x10B2 },
@@ -89,6 +89,7 @@ namespace com.clusterrr.hakchi_gui
var ext = Path.GetExtension(inputFileName);
if ((ext.ToLower() == ".smc") && ((rawRomData.Length % 1024) != 0))
{
+ Debug.WriteLine("Removing SMC header");
var stripped = new byte[rawRomData.Length - 512];
Array.Copy(rawRomData, 512, stripped, 0, stripped.Length);
rawRomData = stripped;
@@ -180,6 +181,9 @@ namespace com.clusterrr.hakchi_gui
Debug.WriteLine($"SA1 chip detected");
presetId = 0x109C; // ID from Super Mario RPG, SA1
}
+ } else
+ {
+ Debug.WriteLine($"We have preset for this game");
}
Debug.WriteLine(string.Format("PresetID: 0x{0:X2}{1:X2}, extra byte: {2:X2}", presetId & 0xFF, (presetId >> 8) & 0xFF, chip));