Save start of an opcode.
Decrease cycles after the opcode. Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@968
This commit is contained in:
parent
12aee4bb55
commit
1f6f136720
1 changed files with 2 additions and 1 deletions
|
@ -62,7 +62,7 @@ Bitu Full_DeCode(void) {
|
|||
if (DEBUG_HeavyIsBreakpoint()) return 1;
|
||||
#endif
|
||||
#endif
|
||||
CPU_Cycles--;
|
||||
inst.start=IPPoint;
|
||||
inst.entry=cpu.full.entry;
|
||||
inst.prefix=cpu.full.prefix;
|
||||
restartopcode:
|
||||
|
@ -73,6 +73,7 @@ restartopcode:
|
|||
#include "core_full/op.h"
|
||||
#include "core_full/save.h"
|
||||
nextopcode:;
|
||||
CPU_Cycles--;
|
||||
}
|
||||
SaveIP();
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue