summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/video
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/video')
-rw-r--r--src/emu/video/dl1416.c6
-rw-r--r--src/emu/video/dl1416.h6
-rw-r--r--src/emu/video/fixfreq.c14
-rw-r--r--src/emu/video/fixfreq.h5
-rw-r--r--src/emu/video/mb_vcu.c10
-rw-r--r--src/emu/video/mb_vcu.h6
-rw-r--r--src/emu/video/vector.c4
-rw-r--r--src/emu/video/vector.h17
8 files changed, 31 insertions, 37 deletions
diff --git a/src/emu/video/dl1416.c b/src/emu/video/dl1416.c
index 963f8d81f08..83c72737b07 100644
--- a/src/emu/video/dl1416.c
+++ b/src/emu/video/dl1416.c
@@ -1,9 +1,9 @@
/*****************************************************************************
*
- * DL1416
+ * DL1416
*
- * license: MAME, GPL-2.0+
- * copyright-holders: Dirk Best
+ * license: MAME, GPL-2.0+
+ * copyright-holders: Dirk Best
*
* 4-Digit 16-Segment Alphanumeric Intelligent Display
* with Memory/Decoder/Driver
diff --git a/src/emu/video/dl1416.h b/src/emu/video/dl1416.h
index bb1b2eb9e58..18c2bbe734c 100644
--- a/src/emu/video/dl1416.h
+++ b/src/emu/video/dl1416.h
@@ -1,9 +1,9 @@
/*****************************************************************************
*
- * DL1416
+ * DL1416
*
- * license: MAME, GPL-2.0+
- * copyright-holders: Dirk Best
+ * license: MAME, GPL-2.0+
+ * copyright-holders: Dirk Best
*
* 4-Digit 16-Segment Alphanumeric Intelligent Display
* with Memory/Decoder/Driver
diff --git a/src/emu/video/fixfreq.c b/src/emu/video/fixfreq.c
index 33d693546c7..2254fedfd65 100644
--- a/src/emu/video/fixfreq.c
+++ b/src/emu/video/fixfreq.c
@@ -2,7 +2,7 @@
fixfreq.h
- 2013 Couriersud
+ 2013 Couriersud
Fixed frequency monochrome monitor emulation
@@ -57,13 +57,13 @@ const device_type FIXFREQ = &device_creator<fixedfreq_device>;
fixedfreq_device::fixedfreq_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: device_t(mconfig, type, name, tag, owner, clock, shortname, source),
- device_video_interface(mconfig, *this, false)
+ device_video_interface(mconfig, *this, false)
{
}
fixedfreq_device::fixedfreq_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, FIXFREQ, "FIXFREQ", tag, owner, clock, "fixfreq", __FILE__),
- device_video_interface(mconfig, *this, false)
+ device_video_interface(mconfig, *this, false)
{
}
@@ -85,7 +85,6 @@ void fixedfreq_device::device_config_complete()
void fixedfreq_device::device_start()
{
-
m_htotal = 0;
m_vtotal = 0;
@@ -167,8 +166,8 @@ void fixedfreq_device::recompute_parameters(bool postload)
void fixedfreq_device::update_screen_parameters(attotime refresh)
{
rectangle visarea(
-// m_hsync - m_hvisible,
-// m_hsync - 1 ,
+// m_hsync - m_hvisible,
+// m_hsync - 1 ,
m_hbackporch - m_hfrontporch,
m_hbackporch - m_hfrontporch + m_hvisible - 1,
m_vbackporch - m_vfrontporch,
@@ -222,7 +221,6 @@ UINT32 fixedfreq_device::screen_update(screen_device &screen, bitmap_rgb32 &bitm
void fixedfreq_device::update_vid(double newval, attotime cur_time)
{
-
bitmap_rgb32 *bm = m_bitmap[m_cur_bm];
int pixels = round((cur_time - m_line_time).as_double() / m_clock_period.as_double());
@@ -292,5 +290,3 @@ void fixedfreq_device::update_vid(double newval, attotime cur_time)
/***************************************************************************/
-
-
diff --git a/src/emu/video/fixfreq.h b/src/emu/video/fixfreq.h
index 29ca56b349a..0caa57871d9 100644
--- a/src/emu/video/fixfreq.h
+++ b/src/emu/video/fixfreq.h
@@ -45,10 +45,9 @@ extern fixedfreq_interface fixedfreq_mode_ntsc720;
// ======================> vga_device
class fixedfreq_device : public device_t,
- public device_video_interface,
- public fixedfreq_interface
+ public device_video_interface,
+ public fixedfreq_interface
{
-
public:
// construction/destruction
fixedfreq_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
diff --git a/src/emu/video/mb_vcu.c b/src/emu/video/mb_vcu.c
index b714f1d46f8..2aa912d0c3f 100644
--- a/src/emu/video/mb_vcu.c
+++ b/src/emu/video/mb_vcu.c
@@ -64,9 +64,9 @@ inline void mb_vcu_device::write_byte(offs_t address, UINT8 data)
mb_vcu_device::mb_vcu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, MB_VCU, "Mazer Blazer custom VCU", tag, owner, clock, "mb_vcu", __FILE__),
- device_memory_interface(mconfig, *this),
- device_video_interface(mconfig, *this),
- m_space_config("videoram", ENDIANNESS_LITTLE, 8, 19, 0, NULL, *ADDRESS_MAP_NAME(mb_vcu_vram))
+ device_memory_interface(mconfig, *this),
+ device_video_interface(mconfig, *this),
+ m_space_config("videoram", ENDIANNESS_LITTLE, 8, 19, 0, NULL, *ADDRESS_MAP_NAME(mb_vcu_vram))
{
}
@@ -144,7 +144,7 @@ void mb_vcu_device::device_reset()
//**************************************************************************
// READ/WRITE HANDLERS
//**************************************************************************
-// UINT8 *pcg = memregion("sub2")->base();
+// UINT8 *pcg = memregion("sub2")->base();
READ8_MEMBER( mb_vcu_device::read_ram )
{
@@ -296,7 +296,7 @@ READ8_MEMBER( mb_vcu_device::load_set_clr )
{
int xi,yi;
int dstx,dsty;
-// UINT8 dot;
+// UINT8 dot;
int bits = 0;
if(m_mode == 0x13 || m_mode == 0x03)
{
diff --git a/src/emu/video/mb_vcu.h b/src/emu/video/mb_vcu.h
index 60bf814447b..4ae727eb2ef 100644
--- a/src/emu/video/mb_vcu.h
+++ b/src/emu/video/mb_vcu.h
@@ -35,9 +35,9 @@ struct mb_vcu_interface
// ======================> mb_vcu_device
class mb_vcu_device : public device_t,
- public device_memory_interface,
- public device_video_interface,
- public mb_vcu_interface
+ public device_memory_interface,
+ public device_video_interface,
+ public mb_vcu_interface
{
public:
// construction/destruction
diff --git a/src/emu/video/vector.c b/src/emu/video/vector.c
index 4417080a48b..757e383c7d0 100644
--- a/src/emu/video/vector.c
+++ b/src/emu/video/vector.c
@@ -131,13 +131,13 @@ const device_type VECTOR = &device_creator<vector_device>;
vector_device::vector_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: device_t(mconfig, type, name, tag, owner, clock, shortname, source),
- device_video_interface(mconfig, *this)
+ device_video_interface(mconfig, *this)
{
}
vector_device::vector_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, VECTOR, "VECTOR", tag, owner, clock, "vector", __FILE__),
- device_video_interface(mconfig, *this)
+ device_video_interface(mconfig, *this)
{
}
diff --git a/src/emu/video/vector.h b/src/emu/video/vector.h
index 9c0122b0250..cb4b2b04d54 100644
--- a/src/emu/video/vector.h
+++ b/src/emu/video/vector.h
@@ -9,7 +9,7 @@
#define VECTOR_COLOR444(c) \
MAKE_RGB(pal4bit((c) >> 8), pal4bit((c) >> 4), pal4bit((c) >> 0))
-
+
/* The vertices are buffered here */
struct point
@@ -22,29 +22,28 @@ struct point
arg1(0),
arg2(0),
status(0) {}
-
+
int x; int y;
rgb_t col;
int intensity;
int arg1; int arg2; /* start/end in pixel array or clipping info */
int status; /* for dirty and clipping handling */
};
-
+
class vector_device : public device_t,
- public device_video_interface
+ public device_video_interface
{
-
public:
// construction/destruction
vector_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
vector_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
-
+
UINT32 screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
void clear_list();
-
+
void add_point(int x, int y, rgb_t color, int intensity);
void add_clip(int minx, int miny, int maxx, int maxy);
-
+
void set_flicker(float m_flicker_correction);
float get_flicker();
@@ -53,7 +52,7 @@ public:
// device-level overrides
virtual void device_start();
-
+
private:
static int m_flicker; /* beam flicker value */
static float m_flicker_correction;