summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/video/huc6260.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/video/huc6260.h')
-rw-r--r--src/emu/video/huc6260.h56
1 files changed, 28 insertions, 28 deletions
diff --git a/src/emu/video/huc6260.h b/src/emu/video/huc6260.h
index df79dbd0d75..3046fa0b454 100644
--- a/src/emu/video/huc6260.h
+++ b/src/emu/video/huc6260.h
@@ -11,18 +11,18 @@
#include "emu.h"
-#define HUC6260_PALETTE_SIZE 1024
+#define HUC6260_PALETTE_SIZE 1024
/* Screen timing stuff */
-#define HUC6260_WPF 1365 /* width of a line in frame including blanking areas */
-#define HUC6260_LPF 263 /* max number of lines in a single frame */
+#define HUC6260_WPF 1365 /* width of a line in frame including blanking areas */
+#define HUC6260_LPF 263 /* max number of lines in a single frame */
PALETTE_INIT( huc6260 );
-#define MCFG_HUC6260_ADD( _tag, clock, _intrf ) \
- MCFG_DEVICE_ADD( _tag, HUC6260, clock ) \
+#define MCFG_HUC6260_ADD( _tag, clock, _intrf ) \
+ MCFG_DEVICE_ADD( _tag, HUC6260, clock ) \
MCFG_DEVICE_CONFIG( _intrf )
@@ -32,21 +32,21 @@ struct huc6260_interface
const char *screen_tag;
/* Callback function to retrieve pixel data */
- devcb_read16 get_next_pixel_data;
+ devcb_read16 get_next_pixel_data;
/* TODO: Choose proper types */
/* Callback function to get time until next event */
- devcb_read16 get_time_til_next_event;
+ devcb_read16 get_time_til_next_event;
/* Callback function which gets called when vsync changes */
- devcb_write_line vsync_changed;
+ devcb_write_line vsync_changed;
/* Callback function which gets called when hsync changes */
- devcb_write_line hsync_changed;
+ devcb_write_line hsync_changed;
};
-class huc6260_device : public device_t,
+class huc6260_device : public device_t,
public huc6260_interface
{
public:
@@ -66,26 +66,26 @@ protected:
private:
screen_device *m_screen;
- int m_last_h;
- int m_last_v;
- int m_height;
+ int m_last_h;
+ int m_last_v;
+ int m_height;
/* callbacks */
- devcb_resolved_read16 m_get_next_pixel_data;
- devcb_resolved_read16 m_get_time_til_next_event;
- devcb_resolved_write_line m_hsync_changed;
- devcb_resolved_write_line m_vsync_changed;
-
- UINT16 m_palette[512];
- UINT16 m_address;
- UINT8 m_greyscales; /* Should the HuC6260 output grey or color graphics */
- UINT8 m_blur; /* Should the edges of graphics be blurred/Select screen height 0=262, 1=263 */
- UINT8 m_pixels_per_clock; /* Number of pixels to output per colour clock */
- UINT16 m_pixel_data;
- UINT8 m_pixel_clock;
-
- emu_timer *m_timer;
- bitmap_ind16 *m_bmp;
+ devcb_resolved_read16 m_get_next_pixel_data;
+ devcb_resolved_read16 m_get_time_til_next_event;
+ devcb_resolved_write_line m_hsync_changed;
+ devcb_resolved_write_line m_vsync_changed;
+
+ UINT16 m_palette[512];
+ UINT16 m_address;
+ UINT8 m_greyscales; /* Should the HuC6260 output grey or color graphics */
+ UINT8 m_blur; /* Should the edges of graphics be blurred/Select screen height 0=262, 1=263 */
+ UINT8 m_pixels_per_clock; /* Number of pixels to output per colour clock */
+ UINT16 m_pixel_data;
+ UINT8 m_pixel_clock;
+
+ emu_timer *m_timer;
+ bitmap_ind16 *m_bmp;
};