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

github.com/ClusterM/coolboy-multirom-builder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools_sources/CoolboyCombiner/Program.cs8
-rw-r--r--tools_sources/CoolboyCombiner/Properties/AssemblyInfo.cs6
2 files changed, 9 insertions, 5 deletions
diff --git a/tools_sources/CoolboyCombiner/Program.cs b/tools_sources/CoolboyCombiner/Program.cs
index ba04a34..f6cd131 100644
--- a/tools_sources/CoolboyCombiner/Program.cs
+++ b/tools_sources/CoolboyCombiner/Program.cs
@@ -622,7 +622,7 @@ namespace Cluster.Famicom
asmResult.AppendLine();
switch (coolboyVersion)
{
- default:
+ case 1:
asmResult.AppendLine("COOLBOY_REG_0 .equ $6000");
asmResult.AppendLine("COOLBOY_REG_1 .equ $6001");
asmResult.AppendLine("COOLBOY_REG_2 .equ $6002");
@@ -634,6 +634,8 @@ namespace Cluster.Famicom
asmResult.AppendLine("COOLBOY_REG_2 .equ $5002");
asmResult.AppendLine("COOLBOY_REG_3 .equ $5003");
break;
+ default:
+ throw new Exception("Unknown version: 2");
}
if (useFlashWriting)
{
@@ -772,12 +774,14 @@ namespace Cluster.Famicom
var u = new UnifFile();
switch (coolboyVersion)
{
- default:
+ case 1:
u.Mapper = "COOLBOY";
break;
case 2:
u.Mapper = "MINDKIDS";
break;
+ default:
+ throw new Exception("Unknown version: 2");
}
u.Fields["MIRR"] = new byte[] { 5 };
diff --git a/tools_sources/CoolboyCombiner/Properties/AssemblyInfo.cs b/tools_sources/CoolboyCombiner/Properties/AssemblyInfo.cs
index f1f09d4..2792851 100644
--- a/tools_sources/CoolboyCombiner/Properties/AssemblyInfo.cs
+++ b/tools_sources/CoolboyCombiner/Properties/AssemblyInfo.cs
@@ -10,7 +10,7 @@ using System.Runtime.InteropServices;
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CoolboyCombiner")]
-[assembly: AssemblyCopyright("Copyright © 2015")]
+[assembly: AssemblyCopyright("Copyright © 2018")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// Можно задать все значения или принять номера сборки и редакции по умолчанию
// используя "*", как показано ниже:
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
+[assembly: AssemblyVersion("1.1.0.0")]
+[assembly: AssemblyFileVersion("1.1.0.0")]