diff options
author | Vas Crabb <vas@vastheman.com> | 2017-08-01 15:19:44 +1000 |
---|---|---|
committer | Vas Crabb <vas@vastheman.com> | 2017-08-01 15:19:44 +1000 |
commit | 1e8c0b23c37a819d0f2cd3ef3d4f74a4f1a85a17 (patch) | |
tree | 1048cfed6c027c5b40c43ace23ff3d2ac705905b /src/devices/cpu/i386/i386.h | |
parent | d8b1cb0191e530180995c5c9f0cb890cf96cf95c (diff) |
This is too contentious, please put it up for review
Revert "Changes to debugger memory address translation"
This reverts commit bb0964f9a284b15851773f5428bd602ca01cc28b.
Diffstat (limited to 'src/devices/cpu/i386/i386.h')
-rw-r--r-- | src/devices/cpu/i386/i386.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/cpu/i386/i386.h b/src/devices/cpu/i386/i386.h index 4712bdfffad..3701f6c6704 100644 --- a/src/devices/cpu/i386/i386.h +++ b/src/devices/cpu/i386/i386.h @@ -60,7 +60,7 @@ protected: // device_memory_interface overrides virtual space_config_vector memory_space_config() const override; - virtual int memory_translate(int spacenum, int intention, offs_t &address) const override; + virtual bool memory_translate(int spacenum, int intention, offs_t &address) override; // device_state_interface overrides virtual void state_import(const device_state_entry &entry) override; @@ -296,8 +296,8 @@ protected: void register_state_i386_x87(); void register_state_i386_x87_xmm(); inline uint32_t i386_translate(int segment, uint32_t ip, int rwn); - inline vtlb_entry get_permissions(uint32_t pte, int wp) const; - bool i386_translate_address(int intention, offs_t *address, vtlb_entry *entry) const; + inline vtlb_entry get_permissions(uint32_t pte, int wp); + bool i386_translate_address(int intention, offs_t *address, vtlb_entry *entry); inline bool translate_address(int pl, int type, uint32_t *address, uint32_t *error); inline void CHANGE_PC(uint32_t pc); inline void NEAR_BRANCH(int32_t offs); |