summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/machine')
-rw-r--r--src/mess/machine/amstrad.c4
-rw-r--r--src/mess/machine/macadb.c2
-rw-r--r--src/mess/machine/nes.c8
3 files changed, 7 insertions, 7 deletions
diff --git a/src/mess/machine/amstrad.c b/src/mess/machine/amstrad.c
index 8c692622488..8600075be1d 100644
--- a/src/mess/machine/amstrad.c
+++ b/src/mess/machine/amstrad.c
@@ -3034,7 +3034,7 @@ MACHINE_START_MEMBER(amstrad_state,plus)
astring region_tag;
m_region_cart = memregion(region_tag.cpy(m_cart->tag()).cat(GENERIC_ROM_REGION_TAG));
- if (!m_region_cart) // this should never happen, since we make carts mandatory!
+ if (!m_region_cart) // this should never happen, since we make carts mandatory!
m_region_cart = memregion("maincpu");
}
@@ -3078,7 +3078,7 @@ MACHINE_START_MEMBER(amstrad_state,gx4000)
astring region_tag;
m_region_cart = memregion(region_tag.cpy(m_cart->tag()).cat(GENERIC_ROM_REGION_TAG));
- if (!m_region_cart) // this should never happen, since we make carts mandatory!
+ if (!m_region_cart) // this should never happen, since we make carts mandatory!
m_region_cart = memregion("maincpu");
}
diff --git a/src/mess/machine/macadb.c b/src/mess/machine/macadb.c
index 05d7b32db3a..dd0dafa208f 100644
--- a/src/mess/machine/macadb.c
+++ b/src/mess/machine/macadb.c
@@ -427,7 +427,7 @@ void mac_state::adb_talk()
{
if(m_adb_keybuf_start == m_adb_keybuf_end)
{
- // printf("%s: buffer empty\n", __func__);
+ // printf("%s: buffer empty\n", __func__);
m_adb_buffer[0] = 0xff;
m_adb_buffer[1] = 0xff;
}
diff --git a/src/mess/machine/nes.c b/src/mess/machine/nes.c
index b6cf0d1d086..8990fb6ae03 100644
--- a/src/mess/machine/nes.c
+++ b/src/mess/machine/nes.c
@@ -139,7 +139,7 @@ READ8_MEMBER(nes_state::fc_in0_r)
// bit 0 to controller port
ret |= m_ctrl1->read_bit0();
- // expansion port bits (in the original FC, P2 controller was hooked to these lines
+ // expansion port bits (in the original FC, P2 controller was hooked to these lines
// too, so in principle some homebrew hardware modification could use the same
// connection with P1 controller too)
ret |= m_ctrl1->read_exp(0);
@@ -160,7 +160,7 @@ READ8_MEMBER(nes_state::fc_in1_r)
// bit 0 to controller port
ret |= m_ctrl2->read_bit0();
- // expansion port bits (in the original FC, P2 controller was hooked to these lines
+ // expansion port bits (in the original FC, P2 controller was hooked to these lines
// too, so in principle some homebrew hardware modification could use the same
// connection with P1 controller too)
ret |= m_ctrl1->read_exp(1);
@@ -193,10 +193,10 @@ NESCTRL_BRIGHTPIXEL_CB(nes_state::bright_pixel)
{
// get the pixel at the gun position
UINT32 pix = m_ppu->get_pixel(x, y);
-
+
// get the color base from the ppu
UINT32 color_base = m_ppu->get_colorbase();
-
+
// check if the cursor is over a bright pixel
if ((pix == color_base + 0x20) || (pix == color_base + 0x30) ||
(pix == color_base + 0x33) || (pix == color_base + 0x34))