changed EI handling a bit and types

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@471 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2008-05-30 13:51:19 +00:00
parent 28d596af36
commit c299a73848
3 changed files with 7 additions and 9 deletions

View file

@ -242,6 +242,7 @@ INT32 Cz80_Exec(cz80_struc *CPU, INT32 cycles)
UINT32 res;
UINT32 val;
int afterEI = 0;
union16 *data;
PC = CPU->PC;
#if CZ80_ENCRYPTED_ROM
@ -255,7 +256,8 @@ INT32 Cz80_Exec(cz80_struc *CPU, INT32 cycles)
Cz80_Exec:
if (CPU->ICount > 0)
{
union16 *data = pzHL;
Cz80_Exec_nocheck:
data = pzHL;
Opcode = READ_OP();
#if CZ80_EMULATE_R_EXACTLY
zR++;