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:
Diffstat (limited to 'NesTiler/Tile.cs')
-rw-r--r--NesTiler/Tile.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/NesTiler/Tile.cs b/NesTiler/Tile.cs
index 98739c0..123ecc9 100644
--- a/NesTiler/Tile.cs
+++ b/NesTiler/Tile.cs
@@ -34,7 +34,7 @@ namespace com.clusterrr.Famicom.NesTiler
if ((Pixels[(y * Width) + x] & 2) != 0) // check bit 1
data[(y / 8 * 16) + (y % 8) + 8] |= (byte)(1 << bit);
pixel++;
- bit = (byte)((byte)(bit - 1) % 8); // decrease bit number, wrap around if need
+ bit = unchecked((byte)((byte)(bit - 1) % 8)); // decrease bit number, wrap around if need
}
}
}