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/distate.h | |
parent | b5c19e9fb2ebcbc061702dc99befeab38af94b42 (diff) |
distate: Expose state_find_entry (nw)
Diffstat (limited to 'src/emu/distate.h')
-rw-r--r-- | src/emu/distate.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/distate.h b/src/emu/distate.h index dc3476d5ba7..f97ec8e3c2e 100644 --- a/src/emu/distate.h +++ b/src/emu/distate.h @@ -250,6 +250,9 @@ public: void set_state_string(int index, const char *string); void set_pc(offs_t pc) { set_state_int(STATE_GENPC, pc); } + // find the entry for a given index + const device_state_entry *state_find_entry(int index) const; + // deliberately ambiguous functions; if you have the state interface // just use it directly device_state_interface &state() { return *this; } @@ -293,9 +296,6 @@ protected: // internal operation overrides virtual void interface_post_start() override; - // find the entry for a given index - const device_state_entry *state_find_entry(int index) const; - // constants static constexpr int FAST_STATE_MIN = -4; // range for fast state static constexpr int FAST_STATE_MAX = 256; // lookups |