diff --git a/src/mame/machine/315-6154.h b/src/mame/machine/315-6154.h index c35547f150e..a143dd34219 100644 --- a/src/mame/machine/315-6154.h +++ b/src/mame/machine/315-6154.h @@ -20,8 +20,10 @@ public: template void aperture_w(address_space &space, offs_t offset, u32 data, u32 mem_mask = 0xffffffff); - static const int AS_PCI_MEMORY = 0; - static const int AS_PCI_CONFIGURATION = 1; + enum { + AS_PCI_MEMORY = 0, + AS_PCI_CONFIGURATION = 1 + }; protected: virtual void device_start() override;