strict mode RTI fix

This commit is contained in:
edmccard 2012-03-25 17:19:55 -04:00
parent ec10a4d549
commit e72624ba9e
1 changed files with 1 additions and 1 deletions

View File

@ -736,7 +736,7 @@ class Cpu(bool strict, bool cumulative) : CpuBase!(strict, cumulative)
{
peek(programCounter);
flag.fromByte(pull());
programCounter = pullWord();
programCounter = readStack() | (readStack() << 8);
static if (cumulative) tick(totalCycles);
}