mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2024-12-22 10:30:46 +00:00
Correct small bug in 16-bit register exchange.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
This commit is contained in:
parent
bc06975796
commit
ea93418289
@ -1310,7 +1310,7 @@
|
||||
{
|
||||
var register1 = this.ReferenceTransfer16(specifier1);
|
||||
var register2 = this.ReferenceTransfer16(specifier2);
|
||||
(register1, register2) = (register2, register1);
|
||||
(register1.Word, register2.Word) = (register2.Word, register1.Word);
|
||||
}
|
||||
}
|
||||
|
||||
@ -1547,7 +1547,7 @@
|
||||
{
|
||||
var register1 = this.ReferenceTransfer16(specifier1);
|
||||
var register2 = this.ReferenceTransfer16(specifier2);
|
||||
register2 = register1;
|
||||
register2.Word = register1.Word;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -22,6 +22,7 @@
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<LangVersion>latest</LangVersion>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
|
Loading…
Reference in New Issue
Block a user