diff options
| author | 2008-11-17 18:33:10 +0000 | |
|---|---|---|
| committer | 2008-11-17 18:33:10 +0000 | |
| commit | e7c418ef0fccb0c316f8afef4b87e347141a474d (patch) | |
| tree | 3c10861632813ef91fc9bb435fda216053b489d8 /src/emu/debug/debugcpu.c | |
| parent | cd6f509841d892d4d195aad6c2a7b05b45f55f78 (diff) | |
Generalized the concept of opbase access into "direct" access.
Removed opbase globals to the address_space structure.
Cleaned up names of pointers (decrypted and raw versus rom and ram).
Added inline functions to read/write data via any address space.
Added macros for existing functions to point them to the new functions.
Other related cleanups.
Diffstat (limited to 'src/emu/debug/debugcpu.c')
| -rw-r--r-- | src/emu/debug/debugcpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/debug/debugcpu.c b/src/emu/debug/debugcpu.c index ab2bda5e12a..d4a9687c508 100644 --- a/src/emu/debug/debugcpu.c +++ b/src/emu/debug/debugcpu.c @@ -2086,7 +2086,7 @@ UINT64 debug_read_opcode(offs_t address, int size, int arg) address &= info->space[ADDRESS_SPACE_PROGRAM].physbytemask; /* adjust the address */ - memory_set_opbase(address); + memory_set_direct_region(cpu_get_address_space(info->device, ADDRESS_SPACE_PROGRAM), address); switch (info->space[ADDRESS_SPACE_PROGRAM].databytes * 10 + size) { |
