summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/audio/mos7360.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2012-09-17 06:49:13 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2012-09-17 06:49:13 +0000
commite25c13f2532730ebf50d0cffa0147393fd8e0228 (patch)
treea6c25d1de7041f26afed559dbc6670fa550e6b41 /src/mess/audio/mos7360.c
parentf97e8f00818bd8d898facc206ed33ab72cf10a75 (diff)
Clean-ups and version bumpmame0147
note: hoarded dump removed too from coco_cart.xml, this will not be tolerated
Diffstat (limited to 'src/mess/audio/mos7360.c')
-rw-r--r--src/mess/audio/mos7360.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mess/audio/mos7360.c b/src/mess/audio/mos7360.c
index 777405a0c95..bf087986852 100644
--- a/src/mess/audio/mos7360.c
+++ b/src/mess/audio/mos7360.c
@@ -240,7 +240,7 @@ inline UINT8 mos7360_device::read_ram(offs_t offset)
m_last_data = space(AS_0)->read_byte(offset);
m_rom = rom;
-
+
return m_last_data;
}
@@ -252,7 +252,7 @@ inline UINT8 mos7360_device::read_rom(offs_t offset)
m_last_data = space(AS_0)->read_byte(offset);
m_rom = rom;
-
+
return m_last_data;
}
@@ -550,7 +550,7 @@ void mos7360_device::draw_bitmap(int ybegin, int yend, int ch, int yoff, int xof
for (y = ybegin; y <= yend; y++)
{
code = read_ram(m_bitmapaddr + ch * 8 + y);
-
+
m_bitmap.pix32(y + yoff, 0 + xoff) = PALETTE[m_c16_bitmap[code >> 7]];
m_bitmap.pix32(y + yoff, 1 + xoff) = PALETTE[m_c16_bitmap[(code >> 6) & 1]];
m_bitmap.pix32(y + yoff, 2 + xoff) = PALETTE[m_c16_bitmap[(code >> 5) & 1]];
@@ -569,7 +569,7 @@ void mos7360_device::draw_bitmap_multi(int ybegin, int yend, int ch, int yoff, i
for (y = ybegin; y <= yend; y++)
{
code = read_ram(m_bitmapaddr + ch * 8 + y);
-
+
m_bitmap.pix32(y + yoff, 0 + xoff) =
m_bitmap.pix32(y + yoff, 1 + xoff) = PALETTE[m_bitmapmulti[code >> 6]];
m_bitmap.pix32(y + yoff, 2 + xoff) =
@@ -589,7 +589,7 @@ void mos7360_device::draw_cursor(int ybegin, int yend, int yoff, int xoff, int c
{
for (int x = 0; x < 8; x++)
{
- m_bitmap.pix32(y + yoff, x + xoff) = PALETTE[color];
+ m_bitmap.pix32(y + yoff, x + xoff) = PALETTE[color];
}
}
}
@@ -617,7 +617,7 @@ void mos7360_device::drawlines(int first, int last)
{
for (int x = 0; x < m_bitmap.width(); x++)
{
- m_bitmap.pix32(line, x) = PALETTE[0];
+ m_bitmap.pix32(line, x) = PALETTE[0];
}
}
return;
@@ -637,7 +637,7 @@ void mos7360_device::drawlines(int first, int last)
{
for (int x = 0; x < m_bitmap.width(); x++)
{
- m_bitmap.pix32(line, x) = PALETTE[FRAMECOLOR];
+ m_bitmap.pix32(line, x) = PALETTE[FRAMECOLOR];
}
}
}
@@ -733,7 +733,7 @@ void mos7360_device::drawlines(int first, int last)
{
for (int x = 0; x < xbegin; x++)
{
- m_bitmap.pix32(yoff + i, x) = PALETTE[FRAMECOLOR];
+ m_bitmap.pix32(yoff + i, x) = PALETTE[FRAMECOLOR];
}
for (int x = xend; x < m_bitmap.width(); x++)
@@ -752,7 +752,7 @@ void mos7360_device::drawlines(int first, int last)
{
for (int x = 0; x < m_bitmap.width(); x++)
{
- m_bitmap.pix32(line, x) = PALETTE[FRAMECOLOR];
+ m_bitmap.pix32(line, x) = PALETTE[FRAMECOLOR];
}
}
}