diff options
author | Ian C <ianc@noddybox.co.uk> | 2012-02-21 23:42:03 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2012-02-21 23:42:03 +0000 |
commit | ebb0f634237648cae8df296a021f28e652b9e8ae (patch) | |
tree | c626fe274ef994a73dc59c2e158922373198795c | |
parent | ebf5338b02eda4703b581c6b162d8369f8670084 (diff) |
Fixed Register16 run-time endian verification check.
-rw-r--r-- | WindowsPhone/Noddybox.Emulation.EightBit/Noddybox.Emulation.EightBit.csproj | 2 | ||||
-rw-r--r-- | 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 @@ <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");
}
|