diff options
author | 2011-03-27 07:37:24 +0000 | |
---|---|---|
committer | 2011-03-27 07:37:24 +0000 | |
commit | 202d7680a44bec9fa1016e8ba6eeaaba51ef15ab (patch) | |
tree | 6021eb4c3d7324779eaeeab30875f68d42ea2348 /src/emu/machine/at28c16.h | |
parent | 382e3998b1ca12e6af774cc2652ae515f526ff44 (diff) |
Created new enum type address_spacenum for specifying an address
space by index. Update functions and methods that accepted an
address space index to take an address_spacenum instead. Note that
this means you can't use a raw integer in ADDRESS_SPACE macros, so
instead of 0 use the enumerated AS_0.
Standardized the project on the shortened constants AS_* over the
older ADDRESS_SPACE_*. Removed the latter to prevent confusion.
Also centralized the location of these definitions to memory.h.
Diffstat (limited to 'src/emu/machine/at28c16.h')
-rw-r--r-- | src/emu/machine/at28c16.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/machine/at28c16.h b/src/emu/machine/at28c16.h index b6b9857eee8..040a821b592 100644 --- a/src/emu/machine/at28c16.h +++ b/src/emu/machine/at28c16.h @@ -61,7 +61,7 @@ protected: virtual bool device_validity_check( emu_options &options, const game_driver &driver ) const; // device_config_memory_interface overrides - virtual const address_space_config *memory_space_config( int spacenum = 0 ) const; + virtual const address_space_config *memory_space_config( address_spacenum spacenum = AS_0 ) const; // device-specific configuration address_space_config m_space_config; |