summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/odyssey2/4in1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/odyssey2/4in1.cpp')
-rw-r--r--src/devices/bus/odyssey2/4in1.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/devices/bus/odyssey2/4in1.cpp b/src/devices/bus/odyssey2/4in1.cpp
index fac0c1337d1..d458347c076 100644
--- a/src/devices/bus/odyssey2/4in1.cpp
+++ b/src/devices/bus/odyssey2/4in1.cpp
@@ -2,7 +2,7 @@
// copyright-holders:hap
/******************************************************************************
-Videopac 40 cartridge emulation
+Videopac 31/40 cartridge emulation
4KB ROM (program ROM is fixed, data ROM is 'bankswitched' via P11)
@@ -15,14 +15,13 @@ Used in:
#include "emu.h"
#include "4in1.h"
+DEFINE_DEVICE_TYPE(O2_ROM_4IN1, o2_4in1_device, "o2_4in1", "Odyssey 2 Videopac 40")
+
//-------------------------------------------------
// o2_4in1_device - constructor
//-------------------------------------------------
-DEFINE_DEVICE_TYPE(O2_ROM_4IN1, o2_4in1_device, "o2_4in1", "Odyssey 2 Videopac 40")
-
-
o2_4in1_device::o2_4in1_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
o2_rom_device(mconfig, O2_ROM_4IN1, tag, owner, clock)
{ }
@@ -36,7 +35,7 @@ void o2_4in1_device::device_start()
void o2_4in1_device::cart_init()
{
if (m_rom_size != 0x1000)
- fatalerror("o2_4in1_device: Wrong ROM region size\n");
+ fatalerror("o2_4in1_device: ROM size must be 4096\n");
}