UINT32 res;\r
UINT32 val;\r
int afterEI = 0;\r
+ union16 *data;\r
\r
PC = CPU->PC;\r
#if CZ80_ENCRYPTED_ROM\r
Cz80_Exec:\r
if (CPU->ICount > 0)\r
{\r
- union16 *data = pzHL;\r
+Cz80_Exec_nocheck:\r
+ data = pzHL;\r
Opcode = READ_OP();\r
#if CZ80_EMULATE_R_EXACTLY\r
zR++;\r
#endif\r
\r
#ifndef INT8\r
-#define INT8 char\r
+#define INT8 signed char\r
#endif\r
\r
#ifndef UINT16\r
#endif\r
\r
#ifndef INT16\r
-#define INT16 short\r
+#define INT16 signed short\r
#endif\r
\r
#ifndef UINT32\r
#endif\r
\r
#ifndef INT32\r
-#define INT32 int\r
+#define INT32 signed int\r
#endif\r
\r
/*************************************/\r
CPU->ExtraCycles += 1 - CPU->ICount;\r
CPU->ICount = 1;\r
}\r
- else if (CPU->ICount <= 0)\r
- {\r
- CPU->ICount = 1;\r
- }\r
}\r
else zIFF2 = (1 << 2);\r
- goto Cz80_Exec;\r
+ goto Cz80_Exec_nocheck;\r
\r
/*-----------------------------------------\r
INC r16\r