diff options
author | 2019-03-16 19:46:53 -0400 | |
---|---|---|
committer | 2019-03-16 19:46:53 -0400 | |
commit | 1a66b2ff1e782447f3c7e7713e85d7532522b2fa (patch) | |
tree | 25e9cbbc5487257941d044931fc2f942bc3d8291 /src/emu/debug/debugcmd.cpp | |
parent | b5c19e9fb2ebcbc061702dc99befeab38af94b42 (diff) |
distate: Expose state_find_entry (nw)
Diffstat (limited to 'src/emu/debug/debugcmd.cpp')
-rw-r--r-- | src/emu/debug/debugcmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/debug/debugcmd.cpp b/src/emu/debug/debugcmd.cpp index 72f4becbdcc..66bc8578464 100644 --- a/src/emu/debug/debugcmd.cpp +++ b/src/emu/debug/debugcmd.cpp @@ -467,7 +467,7 @@ bool debugger_commands::validate_cpu_parameter(const char *param, device_t *&res { // real CPUs should have pcbase const device_state_interface *state; - if (exec.device().interface(state) && state->state_string(STATE_GENPCBASE) != "???" && index++ == cpunum) + if (exec.device().interface(state) && state->state_find_entry(STATE_GENPCBASE) != nullptr && index++ == cpunum) { result = &exec.device(); return true; |