mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2026-04-19 15:16:41 +00:00
Synchronise HALT implementation for Intel style processors with the C++ version.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
+3
-6
@@ -86,10 +86,7 @@ namespace EightBit.GameBoy
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.Halted)
|
||||
{
|
||||
this.Proceed();
|
||||
}
|
||||
this.RaiseHALT();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -101,7 +98,7 @@ namespace EightBit.GameBoy
|
||||
{
|
||||
this.HandleINT();
|
||||
}
|
||||
else if (this.Halted)
|
||||
else if (this.HALT.Lowered())
|
||||
{
|
||||
this.Execute(0); // NOP
|
||||
}
|
||||
@@ -557,7 +554,7 @@ namespace EightBit.GameBoy
|
||||
case 1: // 8-bit loading
|
||||
if (z == 6 && y == 6)
|
||||
{
|
||||
this.Halt(); // Exception (replaces LD (HL), (HL))
|
||||
this.LowerHALT(); // Exception (replaces LD (HL), (HL))
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user