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. --- .../Noddybox.Emulation.EightBit/Noddybox.Emulation.EightBit.csproj | 2 +- src/Noddybox.Emulation.EightBit/Register16.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/WindowsPhone/Noddybox.Emulation.EightBit/Noddybox.Emulation.EightBit.csproj b/WindowsPhone/Noddybox.Emulation.EightBit/Noddybox.Emulation.EightBit.csproj index 8d37cd9..656ce46 100644 --- a/WindowsPhone/Noddybox.Emulation.EightBit/Noddybox.Emulation.EightBit.csproj +++ b/WindowsPhone/Noddybox.Emulation.EightBit/Noddybox.Emulation.EightBit.csproj @@ -24,7 +24,7 @@ full false Bin\Debug - DEBUG;TRACE;SILVERLIGHT;WINDOWS_PHONE + TRACE;DEBUG;SILVERLIGHT;WINDOWS_PHONE true true prompt 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