Update Z80A.cs

Properly reset instruction vector index
This commit is contained in:
alyosha-tas 2017-11-03 08:39:02 -04:00 committed by GitHub
parent ad66699b23
commit 7cdffc25c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -89,6 +89,7 @@ namespace BizHawk.Emulation.Cores.Components.Z80A
ResetInterrupts();
TotalExecutedCycles = 0;
cur_instr = new ushort[] { OP };
instr_pntr = 0;
NO_prefix = true;
}
@ -684,4 +685,4 @@ namespace BizHawk.Emulation.Cores.Components.Z80A
ser.EndSection();
}
}
}
}