mirror of
https://github.com/ksherlock/mpw.git
synced 2025-01-08 22:30:25 +00:00
fix bug with RTD instruction (wasn't actually returning)
This commit is contained in:
parent
4e247a0c46
commit
ab63801242
@ -1909,6 +1909,9 @@ static void cpuReset()
|
||||
static void cpuRtd()
|
||||
{
|
||||
ULO displacement = cpuGetNextWordSignExt();
|
||||
|
||||
cpuInitializeFromNewPC(memoryReadLong(cpuGetAReg(7)));
|
||||
|
||||
cpuSetAReg(7, cpuGetAReg(7) + 4 + displacement);
|
||||
cpuSetInstructionTime(4);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user