summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2012-02-21 23:42:03 +0000
committerIan C <ianc@noddybox.co.uk>2012-02-21 23:42:03 +0000
commitebb0f634237648cae8df296a021f28e652b9e8ae (patch)
treec626fe274ef994a73dc59c2e158922373198795c /src
parentebf5338b02eda4703b581c6b162d8369f8670084 (diff)
Fixed Register16 run-time endian verification check.
Diffstat (limited to 'src')
-rw-r--r--src/Noddybox.Emulation.EightBit/Register16.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Noddybox.Emulation.EightBit/Register16.cs b/src/Noddybox.Emulation.EightBit/Register16.cs
index 10367cc..1aebd27 100644
--- a/src/Noddybox.Emulation.EightBit/Register16.cs
+++ b/src/Noddybox.Emulation.EightBit/Register16.cs
@@ -93,7 +93,7 @@ namespace Noddybox.Emulation.EightBit
r.reg = 0x1234;
- if (r.low != 0x24 || r.high != 0x12)
+ if (r.low != 0x34 || r.high != 0x12)
{
throw new Exception("Compile time endian setting incorrect");
}