diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2012-08-10 08:33:51 +0000 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2012-08-10 08:33:51 +0000 |
commit | c75c14d4d3541f93dd3ad10054c9cc09407493e9 (patch) | |
tree | ee5693b028ef22d3ee70ce5f78a5a0ffbb7e75a7 /src/mame/drivers/esh.c | |
parent | 24991f6661251f71458f3d3fbe3c5315f32d07a9 (diff) |
All driver inits are now member of state classes.
Added DECLARE_DRIVER_INIT macro to define it H file, and
DRIVER_INIT_MEMBER for member declaration in C files
Updated all drivers accordingly (no whatsnew)
Diffstat (limited to 'src/mame/drivers/esh.c')
-rw-r--r-- | src/mame/drivers/esh.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mame/drivers/esh.c b/src/mame/drivers/esh.c index a6a559f4d3b..58beea19d66 100644 --- a/src/mame/drivers/esh.c +++ b/src/mame/drivers/esh.c @@ -46,6 +46,7 @@ public: DECLARE_WRITE8_MEMBER(misc_write); DECLARE_WRITE8_MEMBER(led_writes); DECLARE_WRITE8_MEMBER(nmi_line_w); + DECLARE_DRIVER_INIT(esh); }; @@ -392,7 +393,7 @@ ROM_START( eshb ) ROM_END -static DRIVER_INIT( esh ) +DRIVER_INIT_MEMBER(esh_state,esh) { } |