From 202d7680a44bec9fa1016e8ba6eeaaba51ef15ab Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Sun, 27 Mar 2011 07:37:24 +0000 Subject: 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. --- src/emu/machine/at28c16.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/emu/machine/at28c16.h') 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; -- cgit v1.2.3-70-g09d2