summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/distate.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/distate.h')
-rw-r--r--src/emu/distate.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/emu/distate.h b/src/emu/distate.h
index b64a10f1348..29470cd707a 100644
--- a/src/emu/distate.h
+++ b/src/emu/distate.h
@@ -162,6 +162,11 @@ public:
// state setters
void set_state(int index, UINT64 value);
void set_state_string(int index, const char *string);
+
+ // deliberately ambiguous functions; if you have the state interface
+ // just use pc() and pcbase() directly
+ offs_t safe_pc() { return pc(); }
+ offs_t safe_pcbase() { return pcbase(); }
public: // protected eventually