diff --git a/hash/nes.xml b/hash/nes.xml
index 33036032185..27823709cad 100644
--- a/hash/nes.xml
+++ b/hash/nes.xml
@@ -80938,7 +80938,7 @@ that the real dumps might surface -->
+ extracted from those sets -->
No Pets Allowed
@@ -15,7 +15,7 @@
-
+
Hardcore Petting
diff --git a/plugins/cheat/cheat_simple.lua b/plugins/cheat/cheat_simple.lua
index d7e9277457e..316a3b8e9d4 100644
--- a/plugins/cheat/cheat_simple.lua
+++ b/plugins/cheat/cheat_simple.lua
@@ -71,13 +71,13 @@ function codefuncs.nes_gg(desc, code)
if #code == 6 then
addr = ((value >> 4) & 7) | ((value >> 8) & 0x78) | ((value >> 12) & 0x80) | ((value << 8) & 0x700) | ((value << 4) & 0x7800)
newval = ((value >> 20) & 7) | (value & 8) | ((value >> 12) & 0x70) | ((value >> 16) & 0x80)
- return prepare_rom_cheat(desc, ":nes_slot:cart:prg_rom", addr, newval, 8)
+ return prepare_rom_cheat(desc, ":nes_slot:cart:prg_rom", addr, newval, 8)
elseif #code == 8 then
addr = ((value >> 12) & 7) | ((value >> 16) & 0x78) | ((value >> 20) & 0x80) | (value & 0x700) | ((value >> 4) & 0x7800)
newval = ((value >> 28) & 7) | (value & 8) | ((value >> 20) & 0x70) | ((value >> 24) & 0x80)
comp = ((value >> 4) & 7) | ((value >> 8) & 8) | ((value << 4) & 0x70) | ((value << 1) & 0x80)
-- assume 8K banks, 32K also common but is an easy multiple of 8K
- return prepare_rom_cheat(desc, ":nes_slot:cart:prg_rom", addr, newval, 8, 8192, comp)
+ return prepare_rom_cheat(desc, ":nes_slot:cart:prg_rom", addr, newval, 8, 8192, comp)
else
error("error game genie cheat incorrect length " .. desc)
end
@@ -100,7 +100,7 @@ local function snes_prepare_cheat(desc, addr, val)
local bank = addr >> 16
local offset = addr & 0xffff
if ((bank <= 0x3f) and (offset < 0x2000)) or ((bank & 0xfe) == 0x7e) then
- return prepare_ram_cheat(desc, ":maincpu", addr, val, 8)
+ return prepare_ram_cheat(desc, ":maincpu", addr, val, 8)
end
if (manager:machine().devices[":maincpu"].spaces["program"]:read_u8(0xffd5) & 1) == 1 then --hirom
if (bank & 0x7f) <= 0x3f and offset >= 0x8000 then
@@ -125,7 +125,7 @@ local function snes_prepare_cheat(desc, addr, val)
error("error cheat not rom or ram addr " .. desc)
end
end
- return prepare_rom_cheat(desc, ":snsslot:cart:rom", addr, val, 8)
+ return prepare_rom_cheat(desc, ":snsslot:cart:rom", addr, val, 8)
end
function codefuncs.snes_gg(desc, code)
@@ -184,7 +184,7 @@ function codefuncs.megadriv_gg(desc, code)
end
local newval = ((value >> 32) & 0xff) | ((value >> 3) & 0x1f00) | ((value << 5) & 0xe000)
local addr = (value & 0xff00ff) | ((value >> 16) & 0xff00)
- return prepare_rom_cheat(desc, ":mdslot:cart:rom", addr, newval, 16)
+ return prepare_rom_cheat(desc, ":mdslot:cart:rom", addr, newval, 16)
end
function codefuncs.megadriv_ar(desc, code)
@@ -221,10 +221,10 @@ local function gbgg_ggcodes(desc, code, region)
error("error game genie cheat bad addr " .. desc)
end
if comp == -1 then
- return prepare_rom_cheat(desc, region, addr, newval, 8)
+ return prepare_rom_cheat(desc, region, addr, newval, 8)
else
-- assume 8K banks
- return prepare_rom_cheat(desc, region, addr, newval, 8, 8192, comp)
+ return prepare_rom_cheat(desc, region, addr, newval, 8, 8192, comp)
end
return cheat
end
diff --git a/plugins/cheat/init.lua b/plugins/cheat/init.lua
index 3c33351a819..dd31f2bcefc 100644
--- a/plugins/cheat/init.lua
+++ b/plugins/cheat/init.lua
@@ -107,7 +107,7 @@ function cheat.startplugin()
end
end
end
- end
+ end
return newcheats
end
@@ -416,7 +416,7 @@ function cheat.startplugin()
return false
end
-
+
menu[1] = {"Select cheat to set hotkey", "", "off"}
menu[2] = {"---", "", "off"}
hotkeylist = {}
diff --git a/src/devices/bus/centronics/epson_lx810l.h b/src/devices/bus/centronics/epson_lx810l.h
index 76c4beadd72..2210692313b 100644
--- a/src/devices/bus/centronics/epson_lx810l.h
+++ b/src/devices/bus/centronics/epson_lx810l.h
@@ -97,7 +97,7 @@ private:
DECLARE_READ8_MEMBER(an6_r);
DECLARE_READ8_MEMBER(an7_r);
-
+
/* GATE ARRAY */
DECLARE_WRITE16_MEMBER(printhead);
DECLARE_WRITE8_MEMBER(pf_stepper);
diff --git a/src/devices/bus/coco/coco_dcmodem.cpp b/src/devices/bus/coco/coco_dcmodem.cpp
index e92068c2703..67c6707e53e 100644
--- a/src/devices/bus/coco/coco_dcmodem.cpp
+++ b/src/devices/bus/coco/coco_dcmodem.cpp
@@ -2,12 +2,12 @@
// copyright-holders:Nathan Woods
/***************************************************************************
- coco_dcmodem.cpp
+ coco_dcmodem.cpp
- Code for emulating the CoCo Direct Connect Modem PAK
+ Code for emulating the CoCo Direct Connect Modem PAK
- This is just a "skeleton device"; the UART is emulated but pretty much
- nothing else
+ This is just a "skeleton device"; the UART is emulated but pretty much
+ nothing else
***************************************************************************/
@@ -17,7 +17,7 @@
/***************************************************************************
- CONSTANTS
+ CONSTANTS
***************************************************************************/
#define UART_TAG "uart"
@@ -78,7 +78,7 @@ namespace
/***************************************************************************
- IMPLEMENTATION
+ IMPLEMENTATION
***************************************************************************/
MACHINE_CONFIG_MEMBER(coco_dc_modem_device::device_add_mconfig)
diff --git a/src/devices/bus/coco/coco_multi.cpp b/src/devices/bus/coco/coco_multi.cpp
index 8e5c5a182c9..98c1cb96765 100644
--- a/src/devices/bus/coco/coco_multi.cpp
+++ b/src/devices/bus/coco/coco_multi.cpp
@@ -139,7 +139,7 @@ static SLOT_INTERFACE_START(coco_cart_slot1_3)
SLOT_INTERFACE("rs232", COCO_RS232)
SLOT_INTERFACE("dcmodem", COCO_DCMODEM)
SLOT_INTERFACE("orch90", COCO_ORCH90)
- SLOT_INTERFACE("ssc", COCO_SSC) MCFG_SLOT_OPTION_CLOCK("ssc", DERIVED_CLOCK(1, 1))
+ SLOT_INTERFACE("ssc", COCO_SSC) MCFG_SLOT_OPTION_CLOCK("ssc", DERIVED_CLOCK(1, 1))
SLOT_INTERFACE("games_master", COCO_PAK_GMC)
SLOT_INTERFACE("banked_16k", COCO_PAK_BANKED)
SLOT_INTERFACE("pak", COCO_PAK)
@@ -150,7 +150,7 @@ static SLOT_INTERFACE_START(coco_cart_slot4)
SLOT_INTERFACE("rs232", COCO_RS232)
SLOT_INTERFACE("dcmodem", COCO_DCMODEM)
SLOT_INTERFACE("orch90", COCO_ORCH90)
- SLOT_INTERFACE("ssc", COCO_SSC) MCFG_SLOT_OPTION_CLOCK("ssc", DERIVED_CLOCK(1, 1))
+ SLOT_INTERFACE("ssc", COCO_SSC) MCFG_SLOT_OPTION_CLOCK("ssc", DERIVED_CLOCK(1, 1))
SLOT_INTERFACE("games_master", COCO_PAK_GMC)
SLOT_INTERFACE("banked_16k", COCO_PAK_BANKED)
SLOT_INTERFACE("pak", COCO_PAK)
diff --git a/src/devices/bus/coco/coco_orch90.cpp b/src/devices/bus/coco/coco_orch90.cpp
index 5200be82fe3..2d80dcc1f4e 100644
--- a/src/devices/bus/coco/coco_orch90.cpp
+++ b/src/devices/bus/coco/coco_orch90.cpp
@@ -79,8 +79,8 @@ namespace
}
private:
- WRITE8_MEMBER(write_left) { m_ldac->write(data); }
- WRITE8_MEMBER(write_right) { m_rdac->write(data); }
+ WRITE8_MEMBER(write_left) { m_ldac->write(data); }
+ WRITE8_MEMBER(write_right) { m_rdac->write(data); }
// internal state
required_device m_ldac;
diff --git a/src/devices/bus/coco/coco_ssc.cpp b/src/devices/bus/coco/coco_ssc.cpp
index a2caf852b1e..61ae0470540 100644
--- a/src/devices/bus/coco/coco_ssc.cpp
+++ b/src/devices/bus/coco/coco_ssc.cpp
@@ -1,4 +1,4 @@
-// license:BSD-3-Clause
+// license:BSD-3-Clause
// copyright-holders:tim lindner
/***************************************************************************
@@ -222,9 +222,9 @@ void coco_ssc_device::device_start()
save_item(NAME(m_tms7000_portb));
save_item(NAME(m_tms7000_portc));
save_item(NAME(m_tms7000_portd));
-
+
m_tms7000_busy_timer = timer_alloc(BUSY_TIMER_ID);
-
+
}
@@ -249,7 +249,7 @@ void coco_ssc_device::device_timer(emu_timer &timer, device_timer_id id, int par
{
case BUSY_TIMER_ID:
m_tms7000_busy = false;
- m_tms7000_busy_timer->adjust(attotime::never);
+ m_tms7000_busy_timer->adjust(attotime::never);
break;
default:
@@ -453,7 +453,7 @@ WRITE8_MEMBER(coco_ssc_device::ssc_port_c_w)
m_spo->ald_w(space, 0, m_tms7000_portd);
}
- if( ((m_tms7000_portc & C_BSY) == 0) && ((data & C_BSY) == C_BSY) )
+ if( ((m_tms7000_portc & C_BSY) == 0) && ((data & C_BSY) == C_BSY) )
{
m_tms7000_busy_timer->adjust(attotime::from_usec(1800));
}
diff --git a/src/devices/bus/coco/cococart.cpp b/src/devices/bus/coco/cococart.cpp
index 5716089aad4..cbaafea694e 100644
--- a/src/devices/bus/coco/cococart.cpp
+++ b/src/devices/bus/coco/cococart.cpp
@@ -31,9 +31,9 @@
19 A0 39 A15
20 A1 40 SLENB
- Notes:
- CTS - ROM read $C000-$FEFF ($FDFF on CoCo 3)
- SCS - Spare Chip Select: IO space between $FF40-5F
+ Notes:
+ CTS - ROM read $C000-$FEFF ($FDFF on CoCo 3)
+ SCS - Spare Chip Select: IO space between $FF40-5F
*********************************************************************/
@@ -49,7 +49,7 @@
/***************************************************************************
- CONSTANTS
+ CONSTANTS
***************************************************************************/
enum
@@ -484,7 +484,7 @@ void device_cococart_interface::interface_pre_start()
//-------------------------------------------------
// scs_read - Signifies a read where the SCS pin
-// on the cartridge slot was asserted ($FF40-5F)
+// on the cartridge slot was asserted ($FF40-5F)
//-------------------------------------------------
READ8_MEMBER(device_cococart_interface::scs_read)
@@ -495,7 +495,7 @@ READ8_MEMBER(device_cococart_interface::scs_read)
//-------------------------------------------------
// scs_write - Signifies a write where the SCS pin
-// on the cartridge slot was asserted ($FF40-5F)
+// on the cartridge slot was asserted ($FF40-5F)
//-------------------------------------------------
WRITE8_MEMBER(device_cococart_interface::scs_write)
@@ -544,7 +544,7 @@ void device_cococart_interface::cart_base_changed(void)
//-------------------------------------------------
-// cartridge_space
+// cartridge_space
//-------------------------------------------------
address_space &device_cococart_interface::cartridge_space()
@@ -554,7 +554,7 @@ address_space &device_cococart_interface::cartridge_space()
//-------------------------------------------------
-// install_read_handler
+// install_read_handler
//-------------------------------------------------
void device_cococart_interface::install_read_handler(uint16_t addrstart, uint16_t addrend, read8_delegate rhandler)
@@ -565,7 +565,7 @@ void device_cococart_interface::install_read_handler(uint16_t addrstart, uint16_
//-------------------------------------------------
-// install_write_handler
+// install_write_handler
//-------------------------------------------------
void device_cococart_interface::install_write_handler(uint16_t addrstart, uint16_t addrend, write8_delegate whandler)
@@ -576,7 +576,7 @@ void device_cococart_interface::install_write_handler(uint16_t addrstart, uint16
//-------------------------------------------------
-// install_readwrite_handler
+// install_readwrite_handler
//-------------------------------------------------
void device_cococart_interface::install_readwrite_handler(uint16_t addrstart, uint16_t addrend, read8_delegate rhandler, write8_delegate whandler)
@@ -588,7 +588,7 @@ void device_cococart_interface::install_readwrite_handler(uint16_t addrstart, ui
//-------------------------------------------------
-// set_line_value
+// set_line_value
//-------------------------------------------------
void device_cococart_interface::set_line_value(cococart_slot_device::line line, cococart_slot_device::line_value value)
diff --git a/src/devices/bus/coco/cococart.h b/src/devices/bus/coco/cococart.h
index 82cc9f8a323..db4c23f9f5b 100644
--- a/src/devices/bus/coco/cococart.h
+++ b/src/devices/bus/coco/cococart.h
@@ -195,8 +195,8 @@ protected:
void cart_base_changed(void);
// accessors for containers
- cococart_slot_device &owning_slot() { assert(m_owning_slot); return *m_owning_slot; }
- device_cococart_host_interface &host() { assert(m_host); return *m_host; }
+ cococart_slot_device &owning_slot() { assert(m_owning_slot); return *m_owning_slot; }
+ device_cococart_host_interface &host() { assert(m_host); return *m_host; }
// CoCo cartridges can read directly from the address bus. This is used by a number of
// cartridges (e.g. - Orch-90, Multi-Pak interface) for their control registers, independently
@@ -233,7 +233,7 @@ private:
/***************************************************************************
- COCO CARTRIDGE DEVICES
+ COCO CARTRIDGE DEVICES
***************************************************************************/
// device type definitions - CoCo FDC
diff --git a/src/devices/bus/gameboy/gb_slot.cpp b/src/devices/bus/gameboy/gb_slot.cpp
index 7fbe8aaf49c..3b2cdb0b1f7 100644
--- a/src/devices/bus/gameboy/gb_slot.cpp
+++ b/src/devices/bus/gameboy/gb_slot.cpp
@@ -481,14 +481,14 @@ bool gb_cart_slot_device_base::is_mbc1col_game(const uint8_t *ROM, uint32_t len)
/* Mortal Kombat I & II US */
"MORTALKOMBATI&II",
};
-
+
const uint8_t rows = sizeof(internal_names) / sizeof(internal_names[0]);
-
+
for (uint8_t i = 0x00; i < rows; ++i) {
if (0 == memcmp(&ROM[0x134], &internal_names[i][0], name_length))
return true;
}
-
+
return false;
}
diff --git a/src/devices/bus/hp_dio/hp98544.cpp b/src/devices/bus/hp_dio/hp98544.cpp
index 5d1c95b18fc..976ecd0f6b3 100644
--- a/src/devices/bus/hp_dio/hp98544.cpp
+++ b/src/devices/bus/hp_dio/hp98544.cpp
@@ -80,9 +80,9 @@ void dio16_98544_device::device_start()
m_rom = device().machine().root_device().memregion(this->subtag(HP98544_ROM_REGION).c_str())->base();
m_vram.resize(VRAM_SIZE);
- m_dio->install_memory(0x200000, 0x2fffff, read16_delegate(FUNC(dio16_98544_device::vram_r), this),
+ m_dio->install_memory(0x200000, 0x2fffff, read16_delegate(FUNC(dio16_98544_device::vram_r), this),
write16_delegate(FUNC(dio16_98544_device::vram_w), this));
- m_dio->install_memory(0x560000, 0x563fff, read16_delegate(FUNC(dio16_98544_device::rom_r), this),
+ m_dio->install_memory(0x560000, 0x563fff, read16_delegate(FUNC(dio16_98544_device::rom_r), this),
write16_delegate(FUNC(dio16_98544_device::rom_w), this));
}
@@ -124,7 +124,7 @@ uint32_t dio16_98544_device::screen_update(screen_device &screen, bitmap_rgb32 &
uint32_t *scanline;
int x, y;
uint32_t pixels;
-
+
for (y = 0; y < 768; y++)
{
scanline = &bitmap.pix32(y);
diff --git a/src/devices/bus/hp_dio/hp_dio.h b/src/devices/bus/hp_dio/hp_dio.h
index 5fa43d96edd..1c3c1fc6b7b 100644
--- a/src/devices/bus/hp_dio/hp_dio.h
+++ b/src/devices/bus/hp_dio/hp_dio.h
@@ -4,11 +4,11 @@
HP DIO and DIO-II bus devices
- DIO is 16-bit, essentially the MC68000 bus
- DIO-II extends to 32-bit for 68020/030/040 machines
-
- 16-bit DIO cards fit and work in either 16 or 32 bit systems, much like 8-bit ISA.
- 32-bit DIO-II cards only work in 32 bit DIO-II systems.
+ DIO is 16-bit, essentially the MC68000 bus
+ DIO-II extends to 32-bit for 68020/030/040 machines
+
+ 16-bit DIO cards fit and work in either 16 or 32 bit systems, much like 8-bit ISA.
+ 32-bit DIO-II cards only work in 32 bit DIO-II systems.
***************************************************************************/
@@ -91,7 +91,7 @@ public:
template static devcb_base &set_out_irq6_callback(device_t &device, Object &&cb) { return downcast(device).m_out_irq6_cb.set_callback(std::forward