diff options
author | 2010-07-02 15:12:58 +0000 | |
---|---|---|
committer | 2010-07-02 15:12:58 +0000 | |
commit | 553ec7f42716c9bcb35d3efb0e3c903a72f640cb (patch) | |
tree | e96e8072a24570f3668311a571aa5fffc228b5c1 /src/emu/distate.h | |
parent | af9e6f531faea78f9c7ad4012167567fd1f24af2 (diff) |
Some more cases to directly access the state interface instead of using the old
cpu_* macros. Also changed the ADSP21xx callbacks to take a cpu_device.
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 0ef964f6a27..d1a9c177773 100644 --- a/src/emu/distate.h +++ b/src/emu/distate.h @@ -165,9 +165,9 @@ public: // state getters UINT64 state_value(int index); - UINT64 pc() { return state_value(STATE_GENPC); } - UINT64 pcbase() { return state_value(STATE_GENPCBASE); } - UINT64 sp() { return state_value(STATE_GENSP); } + offs_t pc() { return state_value(STATE_GENPC); } + offs_t pcbase() { return state_value(STATE_GENPCBASE); } + offs_t sp() { return state_value(STATE_GENSP); } UINT64 flags() { return state_value(STATE_GENFLAGS); } astring &state_string(int index, astring &dest); int state_string_max_length(int index); |