diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2018-06-29 18:29:37 -0400 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2018-06-29 18:29:37 -0400 |
commit | 7c18a71442f9f7c3b6563335a9d956805d1eb26a (patch) | |
tree | 92b31003dca3c09c02332c863c77504513b81644 | |
parent | 39c514fadad140df25aab26f69ba3c3b529b96b6 (diff) |
A better way to make friends (nw)
-rw-r--r-- | src/emu/emumem.cpp | 3 | ||||
-rw-r--r-- | src/emu/emumem.h | 4 |
2 files changed, 2 insertions, 5 deletions
diff --git a/src/emu/emumem.cpp b/src/emu/emumem.cpp index ae3e95a0b3b..f88a3527c24 100644 --- a/src/emu/emumem.cpp +++ b/src/emu/emumem.cpp @@ -208,9 +208,6 @@ static char *core_i64_hex_format(u64 value, u8 mindigits) // CONSTANTS //************************************************************************** -// banking constants -const int BANK_ENTRY_UNSPECIFIED = -1; - // other address map constants const int MEMORY_BLOCK_CHUNK = 65536; // minimum chunk size of allocated memory blocks diff --git a/src/emu/emumem.h b/src/emu/emumem.h index c6fe9c57e45..960fbff54cc 100644 --- a/src/emu/emumem.h +++ b/src/emu/emumem.h @@ -260,6 +260,8 @@ class handler_entry { DISABLE_COPYING(handler_entry); + template<int Width, int AddrShift, endianness_t Endian> friend class address_space_specific; + public: // Typing flags static constexpr u32 F_DISPATCH = 0x00000001; // handler that forwards the access to other handlers @@ -304,8 +306,6 @@ public: protected: // Address range storage struct range { - template<int Width, int AddrShift, endianness_t Endian> friend class address_space_specific; - offs_t start; offs_t end; |