diff options
author | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2021-06-17 10:47:10 +0300 |
---|---|---|
committer | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2021-06-17 10:47:10 +0300 |
commit | cdf023baf56d2023f5a10a17c82ee578a3e51d42 (patch) | |
tree | de6d89afc9dca9225003e3d64241d01cf02d4803 | |
parent | 775965f497c6e458a87352931b2312e9ffcc8eee (diff) |
Checksum fixes messages
-rw-r--r-- | tools_sources/CoolgirlCombiner/Game.cs | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tools_sources/CoolgirlCombiner/Game.cs b/tools_sources/CoolgirlCombiner/Game.cs index bbe5545..8866fb8 100644 --- a/tools_sources/CoolgirlCombiner/Game.cs +++ b/tools_sources/CoolgirlCombiner/Game.cs @@ -146,19 +146,40 @@ namespace com.clusterrr.Famicom.CoolGirl if (fixes.TryGetValue(crc, out fix))
{
if (fix.PrgRamSize.HasValue)
+ {
PrgRamSize = fix.PrgRamSize * 1024;
+ Console.WriteLine($"Fix based on checksum: {fileName} has {PrgRamSize}KB PRG RAM");
+ }
if (fix.ChrRamSize.HasValue)
+ {
ChrRamSize = fix.ChrRamSize * 1024;
+ Console.WriteLine($"Fix based on checksum: {fileName} has {ChrRamSize}KB CHR RAM");
+ }
if (fix.Battery.HasValue)
+ {
Battery = fix.Battery.Value;
+ Console.WriteLine($"Fix based on checksum: {fileName} battery saves = {Battery}");
+ }
if (fix.WillNotWorkOnPal)
+ {
Flags |= GameFlags.WillNotWorkOnPal;
+ Console.WriteLine($"Fix based on checksum: {fileName} will not work on PAL console");
+ }
if (fix.WillNotWorkOnNtsc)
+ {
Flags |= GameFlags.WillNotWorkOnNtsc;
+ Console.WriteLine($"Fix based on checksum: {fileName} will not work on NTSC console");
+ }
if (fix.WillNotWorkOnDendy)
+ {
Flags |= GameFlags.WillNotWorkOnDendy;
+ Console.WriteLine($"Fix based on checksum: {fileName} will not work on Dendy console");
+ }
if (fix.WillNotWorkOnNewFamiclone)
+ {
Flags |= GameFlags.WillNotWorkOnNewFamiclone;
+ Console.WriteLine($"Fix based on checksum: {fileName} will not work on new famiclones");
+ }
}
}
// External NTRAM is not supported on new famiclones
|