mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-06 15:48:05 -04:00
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:
parent
28d596af36
commit
c299a73848
3 changed files with 7 additions and 9 deletions
|
@ -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++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue