From b702e42b2f20ad67a5145640464fe061b51c2e12 Mon Sep 17 00:00:00 2001 From: Robbbert Date: Wed, 7 Nov 2012 08:40:26 +0000 Subject: uzebox : fix validation --- src/mess/drivers/uzebox.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/mess/drivers/uzebox.c') diff --git a/src/mess/drivers/uzebox.c b/src/mess/drivers/uzebox.c index 50a1c13f2c9..9dd11e8ad92 100644 --- a/src/mess/drivers/uzebox.c +++ b/src/mess/drivers/uzebox.c @@ -40,7 +40,7 @@ public: virtual void machine_start(); - required_device m_maincpu; + required_device m_maincpu; DECLARE_READ8_MEMBER(port_r); DECLARE_WRITE8_MEMBER(port_w); @@ -55,7 +55,7 @@ void uzebox_state::machine_start() READ8_MEMBER(uzebox_state::port_r) { - return 0; + return 0; } WRITE8_MEMBER(uzebox_state::port_w) @@ -115,7 +115,7 @@ static MACHINE_CONFIG_START( uzebox, uzebox_state ) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", ATMEGA644, MASTER_CLOCK) - MCFG_CPU_AVR8_CONFIG(atmega644_config) + MCFG_CPU_AVR8_CONFIG(atmega644_config) MCFG_CPU_PROGRAM_MAP(uzebox_prg_map) MCFG_CPU_DATA_MAP(uzebox_data_map) MCFG_CPU_IO_MAP(uzebox_io_map) @@ -145,7 +145,7 @@ ROM_START( uzebox ) ROM_REGION( 0x10000, "maincpu", 0 ) /* Main program store */ ROM_CART_LOAD("cart1", 0x0000, 0x10000, ROM_OPTIONAL) - ROM_REGION( 0x200, "eeprom", 0 ) /* on-die eeprom */ + ROM_REGION( 0x200, "eeprom", ROMREGION_ERASE00 ) /* on-die eeprom */ ROM_END /* YEAR NAME PARENT COMPAT MACHINE INPUT INIT COMPANY FULLNAME */ -- cgit v1.2.3-70-g09d2