diff options
author | Fabio Priuli <etabeta78@users.noreply.github.com> | 2009-04-11 14:06:24 +0000 |
---|---|---|
committer | Fabio Priuli <etabeta78@users.noreply.github.com> | 2009-04-11 14:06:24 +0000 |
commit | a47d3f01fa7ddf29ea3fbc6da18de0c50687a185 (patch) | |
tree | 958a21d75872534bb23dfeb284b1e5140423732a /src/emu/cpu/m6502/m4510.c | |
parent | 3cff704ee384a3729d25bf2d2d84d1466ae85240 (diff) |
Fixed CPU_GET_INFO issues spotted by -validate in MESS debug build
Diffstat (limited to 'src/emu/cpu/m6502/m4510.c')
-rw-r--r-- | src/emu/cpu/m6502/m4510.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/cpu/m6502/m4510.c b/src/emu/cpu/m6502/m4510.c index c2cf3d7ae70..72aeb79a3a0 100644 --- a/src/emu/cpu/m6502/m4510.c +++ b/src/emu/cpu/m6502/m4510.c @@ -443,7 +443,7 @@ static CPU_SET_INFO( m4510 ) CPU_GET_INFO( m4510 ) { - m4510_Regs *cpustate = (device != NULL && device != NULL) ? get_safe_token(device) : NULL; + m4510_Regs *cpustate = (device != NULL && device->token != NULL) ? get_safe_token(device) : NULL; switch (state) { |