1
0
Fork 0

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:
Sjoerd van der Berg 2003-04-27 11:43:34 +00:00
parent 12aee4bb55
commit 1f6f136720

View file

@ -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;