Updated Z80 CPU to fix interrupts etc...
This commit is contained in:
@@ -376,6 +376,17 @@ namespace Core.Video
|
||||
|
||||
return (255 << 24) | (r << 16) | (g << 8) | b;
|
||||
}
|
||||
|
||||
public void Reset()
|
||||
{
|
||||
_tStateCounter = 0;
|
||||
_currentScanline = 0;
|
||||
_lineCounter = 0;
|
||||
_statusRegister = 0x00;
|
||||
_controlWord = 0;
|
||||
_isSecondControlByte = false;
|
||||
_readBuffer = 0;
|
||||
}
|
||||
public void SaveState(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(VRAM);
|
||||
|
||||
Reference in New Issue
Block a user