Always align T11 CPU opcode fetches. (nw)

This commit is contained in:
Curt Coder 2011-05-26 07:50:22 +00:00
parent b9e77930f0
commit 729e2ecc48

View File

@ -75,6 +75,7 @@ INLINE t11_state *get_safe_token(device_t *device)
INLINE int ROPCODE(t11_state *cpustate)
{
cpustate->PC &= 0xfffe;
int val = cpustate->direct->read_decrypted_word(cpustate->PC);
cpustate->PC += 2;
return val;