diff options
Diffstat (limited to 'src/emu/bus/sega8')
| -rw-r--r-- | src/emu/bus/sega8/ccatch.c | 4 | ||||
| -rw-r--r-- | src/emu/bus/sega8/mgear.h | 4 | ||||
| -rw-r--r-- | src/emu/bus/sega8/rom.c | 2 | ||||
| -rw-r--r-- | src/emu/bus/sega8/sega8_slot.c | 1 | ||||
| -rw-r--r-- | src/emu/bus/sega8/sega8_slot.h | 2 |
5 files changed, 6 insertions, 7 deletions
diff --git a/src/emu/bus/sega8/ccatch.c b/src/emu/bus/sega8/ccatch.c index 3e917fa8d09..0f1b464660d 100644 --- a/src/emu/bus/sega8/ccatch.c +++ b/src/emu/bus/sega8/ccatch.c @@ -1,10 +1,10 @@ /*********************************************************************************************************** SG-1000 Card Catcher emulation - + Sega Card Catcher is a passthrough adapter for SG-1000 to load games in MyCard format into the - main cartslot + main cartslot ***********************************************************************************************************/ diff --git a/src/emu/bus/sega8/mgear.h b/src/emu/bus/sega8/mgear.h index 27672464ced..d4e800c19e8 100644 --- a/src/emu/bus/sega8/mgear.h +++ b/src/emu/bus/sega8/mgear.h @@ -12,11 +12,11 @@ class sega8_mgear_device : public sega8_rom_device public: // construction/destruction sega8_mgear_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); - + // device-level overrides virtual void device_start(); virtual void device_reset(); - + // reading and writing virtual DECLARE_READ8_MEMBER(read_cart) { return m_subslot->read_cart(space, offset); } virtual DECLARE_WRITE8_MEMBER(write_cart) { m_subslot->write_cart(space, offset, data); } diff --git a/src/emu/bus/sega8/rom.c b/src/emu/bus/sega8/rom.c index 9b222867ba3..436b710545c 100644 --- a/src/emu/bus/sega8/rom.c +++ b/src/emu/bus/sega8/rom.c @@ -752,7 +752,7 @@ READ8_MEMBER(sega8_4pak_device::read_cart) { int bank = offset / 0x4000; - return m_rom[m_rom_bank_base[bank] * 0x4000 + (offset & 0x3fff)]; + return m_rom[m_rom_bank_base[bank] * 0x4000 + (offset & 0x3fff)]; } diff --git a/src/emu/bus/sega8/sega8_slot.c b/src/emu/bus/sega8/sega8_slot.c index 2933929081c..5a64c283f66 100644 --- a/src/emu/bus/sega8/sega8_slot.c +++ b/src/emu/bus/sega8/sega8_slot.c @@ -873,4 +873,3 @@ SLOT_INTERFACE_START(gg_cart) SLOT_INTERFACE_INTERNAL("codemasters", SEGA8_ROM_CODEMASTERS) SLOT_INTERFACE_INTERNAL("mgear", SEGA8_ROM_MGEAR) SLOT_INTERFACE_END - diff --git a/src/emu/bus/sega8/sega8_slot.h b/src/emu/bus/sega8/sega8_slot.h index d70ae51a805..8a1caf8df9f 100644 --- a/src/emu/bus/sega8/sega8_slot.h +++ b/src/emu/bus/sega8/sega8_slot.h @@ -121,7 +121,7 @@ public: int verify_cart(UINT8 *magic, int size); void set_lphaser_xoffset(UINT8 *rom, int size); - void save_ram() { if (m_cart && m_cart->get_ram_size()) m_cart->save_ram(); } + void save_ram() { if (m_cart && m_cart->get_ram_size()) m_cart->save_ram(); } void set_mandatory(bool val) { m_must_be_loaded = val; } void set_intf(const char * interface) { m_interface = interface; } |
