summaryrefslogtreecommitdiff
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
parentebf5338b02eda4703b581c6b162d8369f8670084 (diff)
Fixed Register16 run-time endian verification check.
-rw-r--r--WindowsPhone/Noddybox.Emulation.EightBit/Noddybox.Emulation.EightBit.csproj2
-rw-r--r--src/Noddybox.Emulation.EightBit/Register16.cs2
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 @@
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>Bin\Debug</OutputPath>
- <DefineConstants>DEBUG;TRACE;SILVERLIGHT;WINDOWS_PHONE</DefineConstants>
+ <DefineConstants>TRACE;DEBUG;SILVERLIGHT;WINDOWS_PHONE</DefineConstants>
<NoStdLib>true</NoStdLib>
<NoConfig>true</NoConfig>
<ErrorReport>prompt</ErrorReport>
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");
}