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

github.com/ClusterM/NesTiler.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2022-10-27 10:33:44 +0300
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2022-10-27 10:33:44 +0300
commit2b9753ec8d5e0157ea2a6fdbfcb35b558ca131db (patch)
tree45665d92f54856371dd83deb799b04f3338c11cd /NesTiler/Palette.cs
parent08747248b0fdaa13fbb9ffbc07d9eaa61f7928f0 (diff)
Clean up.
Diffstat (limited to 'NesTiler/Palette.cs')
-rw-r--r--NesTiler/Palette.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/NesTiler/Palette.cs b/NesTiler/Palette.cs
index ff4c3c5..5b8703f 100644
--- a/NesTiler/Palette.cs
+++ b/NesTiler/Palette.cs
@@ -1,5 +1,4 @@
-using SkiaSharp;
-using System;
+using System;
using System.Collections;
using System.Collections.Generic;
using System.Drawing;
@@ -141,7 +140,7 @@ namespace com.clusterrr.Famicom.NesTiler
public override int GetHashCode()
{
- return (this[1]?.R ?? 0) + (this[2]?.R ?? 0) + (this[3]?.R ?? 0)
+ return ((this[1]?.R ?? 0) + (this[2]?.R ?? 0) + (this[3]?.R ?? 0))
| (((this[1]?.G ?? 0) + (this[2]?.G ?? 0) + (this[3]?.G ?? 0)) << 10)
| (((this[1]?.B ?? 0) + (this[2]?.B ?? 0) + (this[3]?.B ?? 0)) << 20);
}