From ebb0f634237648cae8df296a021f28e652b9e8ae Mon Sep 17 00:00:00 2001 From: Ian C Date: Tue, 21 Feb 2012 23:42:03 +0000 Subject: Fixed Register16 run-time endian verification check. --- src/Noddybox.Emulation.EightBit/Register16.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Noddybox.Emulation.EightBit/Register16.cs') 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"); } -- cgit v1.2.3