aboutsummaryrefslogtreecommitdiff
path: root/ARMeilleure/Decoders/DecoderHelper.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ARMeilleure/Decoders/DecoderHelper.cs')
-rw-r--r--ARMeilleure/Decoders/DecoderHelper.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ARMeilleure/Decoders/DecoderHelper.cs b/ARMeilleure/Decoders/DecoderHelper.cs
index 38f98c39..5227e6a1 100644
--- a/ARMeilleure/Decoders/DecoderHelper.cs
+++ b/ARMeilleure/Decoders/DecoderHelper.cs
@@ -17,7 +17,7 @@ namespace ARMeilleure.Decoders
{
uint[] tbl = new uint[256];
- for (int idx = 0; idx < 256; idx++)
+ for (int idx = 0; idx < tbl.Length; idx++)
{
tbl[idx] = ExpandImm8ToFP32((uint)idx);
}
@@ -29,7 +29,7 @@ namespace ARMeilleure.Decoders
{
ulong[] tbl = new ulong[256];
- for (int idx = 0; idx < 256; idx++)
+ for (int idx = 0; idx < tbl.Length; idx++)
{
tbl[idx] = ExpandImm8ToFP64((ulong)idx);
}