summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/video
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/video')
-rw-r--r--src/emu/video/315_5124.c2
-rw-r--r--src/emu/video/epic12.c2
-rw-r--r--src/emu/video/upd7220.c2
-rw-r--r--src/emu/video/vooddefs.h18
-rw-r--r--src/emu/video/voodoo.c4
5 files changed, 14 insertions, 14 deletions
diff --git a/src/emu/video/315_5124.c b/src/emu/video/315_5124.c
index e4a525d41cc..48aa0b670b9 100644
--- a/src/emu/video/315_5124.c
+++ b/src/emu/video/315_5124.c
@@ -677,7 +677,7 @@ WRITE8_MEMBER( sega315_5124_device::register_write )
reg_num = data & 0x0f;
m_reg[reg_num] = m_addr & 0xff;
//logerror("%s: %s: setting register %x to %02x\n", machine().describe_context(), tag(), reg_num, m_addr & 0xf );
-
+
switch (reg_num)
{
case 0:
diff --git a/src/emu/video/epic12.c b/src/emu/video/epic12.c
index de5e98e5c2c..3d42c07783f 100644
--- a/src/emu/video/epic12.c
+++ b/src/emu/video/epic12.c
@@ -41,7 +41,7 @@ void epic12_device::device_start()
m_bitmaps = auto_bitmap_rgb32_alloc(machine(), 0x2000, 0x1000);
m_clip = m_bitmaps->cliprect();
m_clip.set(0, 0x2000-1, 0, 0x1000-1);
-
+
m_ram16_copy = auto_alloc_array(machine(), UINT16, m_main_ramsize/2);
m_blitter_delay_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(epic12_device::blitter_delay_callback),this));
diff --git a/src/emu/video/upd7220.c b/src/emu/video/upd7220.c
index fd322499047..d9a61c0bbec 100644
--- a/src/emu/video/upd7220.c
+++ b/src/emu/video/upd7220.c
@@ -764,7 +764,7 @@ void upd7220_device::draw_pixel(int x, int y, int xi, UINT16 tile_data)
UINT8 data = readbyte(addr);
UINT8 new_pixel = (xi & 8 ? tile_data >> 8 : tile_data & 0xff) & (0x80 >> (xi & 7));
new_pixel = new_pixel ? (0xff & (0x80 >> (x & 7))) : 0;
-
+
switch(m_bitmap_mod)
{
case 0: //replace
diff --git a/src/emu/video/vooddefs.h b/src/emu/video/vooddefs.h
index bae8fbfbee7..819c285f290 100644
--- a/src/emu/video/vooddefs.h
+++ b/src/emu/video/vooddefs.h
@@ -1726,8 +1726,8 @@ struct voodoo_state
raster_info rasterizer[MAX_RASTERIZERS]; /* array of rasterizers */
raster_info * raster_hash[RASTER_HASH_SIZE]; /* hash table of rasterizers */
- bool send_config;
- UINT32 tmu_config;
+ bool send_config;
+ UINT32 tmu_config;
};
@@ -3646,18 +3646,18 @@ static void raster_##name(void *destbase, INT32 y, const poly_extent *extent, co
/* result in texel */ \
/* note that they set LOD min to 8 to "disable" a TMU */ \
if (TMUS >= 1 && v->tmu[0].lodmin < (8 << 8)) \
- { \
+ { \
if (!v->send_config) \
- { \
+ { \
TEXTURE_PIPELINE(&v->tmu[0], x, dither4, TEXMODE0, texel, \
v->tmu[0].lookup, extra->lodbase0, \
iters0, itert0, iterw0, texel); \
- } \
- else \
- { \
+ } \
+ else \
+ { \
texel.u=v->tmu_config; \
- } \
- } \
+ } \
+ } \
\
/* colorpath pipeline selects source colors and does blending */ \
CLAMPED_ARGB(iterr, iterg, iterb, itera, FBZCOLORPATH, iterargb); \
diff --git a/src/emu/video/voodoo.c b/src/emu/video/voodoo.c
index b4f38a606a1..d84fef0261f 100644
--- a/src/emu/video/voodoo.c
+++ b/src/emu/video/voodoo.c
@@ -4915,7 +4915,7 @@ void voodoo_device::common_start_voodoo(UINT8 type)
}
}
- v->tmu_config = 0x11; // revision 1
+ v->tmu_config = 0x11; // revision 1
/* configure type-specific values */
switch (v->type)
@@ -4969,7 +4969,7 @@ void voodoo_device::common_start_voodoo(UINT8 type)
assert_always(v->cpu != NULL, "Unable to find CPU attached to voodoo");
if (m_tmumem1 != 0)
- v->tmu_config |= 0xc0; // two TMUs
+ v->tmu_config |= 0xc0; // two TMUs
v->chipmask = 0x01;
v->attoseconds_per_cycle = ATTOSECONDS_PER_SECOND / v->freq;