mirror of
https://github.com/holub/mame
synced 2025-10-06 17:08:28 +03:00
A better way to make friends (nw)
This commit is contained in:
parent
39c514fada
commit
7c18a71442
@ -208,9 +208,6 @@ static char *core_i64_hex_format(u64 value, u8 mindigits)
|
|||||||
// CONSTANTS
|
// CONSTANTS
|
||||||
//**************************************************************************
|
//**************************************************************************
|
||||||
|
|
||||||
// banking constants
|
|
||||||
const int BANK_ENTRY_UNSPECIFIED = -1;
|
|
||||||
|
|
||||||
// other address map constants
|
// other address map constants
|
||||||
const int MEMORY_BLOCK_CHUNK = 65536; // minimum chunk size of allocated memory blocks
|
const int MEMORY_BLOCK_CHUNK = 65536; // minimum chunk size of allocated memory blocks
|
||||||
|
|
||||||
|
@ -260,6 +260,8 @@ class handler_entry
|
|||||||
{
|
{
|
||||||
DISABLE_COPYING(handler_entry);
|
DISABLE_COPYING(handler_entry);
|
||||||
|
|
||||||
|
template<int Width, int AddrShift, endianness_t Endian> friend class address_space_specific;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
// Typing flags
|
// Typing flags
|
||||||
static constexpr u32 F_DISPATCH = 0x00000001; // handler that forwards the access to other handlers
|
static constexpr u32 F_DISPATCH = 0x00000001; // handler that forwards the access to other handlers
|
||||||
@ -304,8 +306,6 @@ public:
|
|||||||
protected:
|
protected:
|
||||||
// Address range storage
|
// Address range storage
|
||||||
struct range {
|
struct range {
|
||||||
template<int Width, int AddrShift, endianness_t Endian> friend class address_space_specific;
|
|
||||||
|
|
||||||
offs_t start;
|
offs_t start;
|
||||||
offs_t end;
|
offs_t end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user