summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/includes
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/includes')
-rw-r--r--src/mess/includes/amstrad.h4
-rw-r--r--src/mess/includes/apple1.h2
-rw-r--r--src/mess/includes/apple2.h4
-rw-r--r--src/mess/includes/apple2gs.h4
-rw-r--r--src/mess/includes/bebox.h2
-rw-r--r--src/mess/includes/c65.h6
-rw-r--r--src/mess/includes/cgenie.h2
-rw-r--r--src/mess/includes/channelf.h2
-rw-r--r--src/mess/includes/compis.h10
-rw-r--r--src/mess/includes/concept.h2
-rw-r--r--src/mess/includes/cxhumax.h4
-rw-r--r--src/mess/includes/cybiko.h4
-rw-r--r--src/mess/includes/dgn_beta.h4
-rw-r--r--src/mess/includes/electron.h2
-rw-r--r--src/mess/includes/fm7.h8
-rw-r--r--src/mess/includes/gamecom.h6
-rw-r--r--src/mess/includes/gb.h2
-rw-r--r--src/mess/includes/gmaster.h4
-rw-r--r--src/mess/includes/gp32.h10
-rw-r--r--src/mess/includes/hp48.h2
-rw-r--r--src/mess/includes/intv.h2
-rw-r--r--src/mess/includes/kyocera.h2
-rw-r--r--src/mess/includes/lisa.h8
-rw-r--r--src/mess/includes/lynx.h10
-rw-r--r--src/mess/includes/mac.h4
-rw-r--r--src/mess/includes/macpci.h2
-rw-r--r--src/mess/includes/mbc55x.h4
-rw-r--r--src/mess/includes/nascom1.h4
-rw-r--r--src/mess/includes/nes.h4
-rw-r--r--src/mess/includes/odyssey2.h2
-rw-r--r--src/mess/includes/oric.h4
-rw-r--r--src/mess/includes/p2000t.h2
-rw-r--r--src/mess/includes/pc8401a.h2
-rw-r--r--src/mess/includes/pce.h2
-rw-r--r--src/mess/includes/pdp1.h10
-rw-r--r--src/mess/includes/pet.h2
-rw-r--r--src/mess/includes/pokemini.h4
-rw-r--r--src/mess/includes/rmnimbus.h16
-rw-r--r--src/mess/includes/spectrum.h2
-rw-r--r--src/mess/includes/ssystem3.h4
-rw-r--r--src/mess/includes/svi318.h4
-rw-r--r--src/mess/includes/svision.h6
-rw-r--r--src/mess/includes/tx0.h8
-rw-r--r--src/mess/includes/vc4000.h6
-rw-r--r--src/mess/includes/vic20.h2
-rw-r--r--src/mess/includes/wswan.h8
-rw-r--r--src/mess/includes/x07.h2
-rw-r--r--src/mess/includes/x1.h6
-rw-r--r--src/mess/includes/z80ne.h2
49 files changed, 109 insertions, 109 deletions
diff --git a/src/mess/includes/amstrad.h b/src/mess/includes/amstrad.h
index ab3f7fa5406..b4ad39a488a 100644
--- a/src/mess/includes/amstrad.h
+++ b/src/mess/includes/amstrad.h
@@ -23,7 +23,7 @@
/****************************
* Gate Array data (CPC) -
****************************/
-struct gate_array_t
+struct gate_array_t
{
bitmap_ind16 *bitmap; /* The bitmap we work on */
UINT8 pen_selected; /* Pen selection */
@@ -60,7 +60,7 @@ struct gate_array_t
/****************************
* ASIC data (CPC plus)
****************************/
-struct asic_t
+struct asic_t
{
UINT8 *ram; /* pointer to RAM used for the CPC+ ASIC memory-mapped registers */
UINT8 enabled; /* Are CPC plus features enabled/unlocked */
diff --git a/src/mess/includes/apple1.h b/src/mess/includes/apple1.h
index 727adf972e2..61966536e40 100644
--- a/src/mess/includes/apple1.h
+++ b/src/mess/includes/apple1.h
@@ -12,7 +12,7 @@
typedef short termchar_t;
-struct terminal_t
+struct terminal_t
{
tilemap_t *tm;
int gfx;
diff --git a/src/mess/includes/apple2.h b/src/mess/includes/apple2.h
index a75e950df5c..f2d46921146 100644
--- a/src/mess/includes/apple2.h
+++ b/src/mess/includes/apple2.h
@@ -72,7 +72,7 @@
#define APPLE2_MEM_FLOATING 0xFFFFFFFF
#define APPLE2_MEM_MASK 0x00FFFFFF
-enum machine_type_t
+enum machine_type_t
{
APPLE_II, // Apple II/II+
APPLE_IIEPLUS, // Apple IIe/IIc/IIgs/IIc+
@@ -81,7 +81,7 @@ enum machine_type_t
SPACE84 // "Space 84" with flipped text mode
};
-enum bank_disposition_t
+enum bank_disposition_t
{
A2MEM_IO = 0, /* this is always handlers; never banked memory */
A2MEM_MONO = 1, /* this is a bank where read and write are always in unison */
diff --git a/src/mess/includes/apple2gs.h b/src/mess/includes/apple2gs.h
index cd97d72b184..ec5a3abe91f 100644
--- a/src/mess/includes/apple2gs.h
+++ b/src/mess/includes/apple2gs.h
@@ -24,7 +24,7 @@
#define BORDER_TOP (16) // (plus bottom)
-enum apple2gs_clock_mode
+enum apple2gs_clock_mode
{
CLOCKMODE_IDLE,
CLOCKMODE_TIME,
@@ -34,7 +34,7 @@ enum apple2gs_clock_mode
};
-enum adbstate_t
+enum adbstate_t
{
ADBSTATE_IDLE,
ADBSTATE_INCOMMAND,
diff --git a/src/mess/includes/bebox.h b/src/mess/includes/bebox.h
index b26cdc07caa..a3b942c07e1 100644
--- a/src/mess/includes/bebox.h
+++ b/src/mess/includes/bebox.h
@@ -13,7 +13,7 @@
#include "machine/8237dma.h"
#include "machine/53c810.h"
-struct bebox_devices_t
+struct bebox_devices_t
{
device_t *pic8259_master;
device_t *pic8259_slave;
diff --git a/src/mess/includes/c65.h b/src/mess/includes/c65.h
index f29335bc808..e1547718fc2 100644
--- a/src/mess/includes/c65.h
+++ b/src/mess/includes/c65.h
@@ -10,13 +10,13 @@
#include "includes/c64_legacy.h"
#include "machine/6526cia.h"
-struct dma_t
+struct dma_t
{
int version;
UINT8 data[4];
};
-struct fdc_t
+struct fdc_t
{
int state;
@@ -32,7 +32,7 @@ struct fdc_t
int head,track,sector;
};
-struct expansion_ram_t
+struct expansion_ram_t
{
UINT8 reg;
};
diff --git a/src/mess/includes/cgenie.h b/src/mess/includes/cgenie.h
index e5d88a615ca..294560a8a09 100644
--- a/src/mess/includes/cgenie.h
+++ b/src/mess/includes/cgenie.h
@@ -10,7 +10,7 @@
#include "machine/wd17xx.h"
// CRTC 6845
-struct CRTC6845
+struct CRTC6845
{
UINT8 cursor_address_lo;
UINT8 cursor_address_hi;
diff --git a/src/mess/includes/channelf.h b/src/mess/includes/channelf.h
index 17d6996d1d9..d49cd3879fa 100644
--- a/src/mess/includes/channelf.h
+++ b/src/mess/includes/channelf.h
@@ -13,7 +13,7 @@
/* SKR - 2102 RAM chip on carts 10 and 18 I/O ports */
-struct r2102_t
+struct r2102_t
{
UINT8 d; /* data bit:inverted logic, but reading/writing cancel out */
UINT8 r_w; /* inverted logic: 0 means read, 1 means write */
diff --git a/src/mess/includes/compis.h b/src/mess/includes/compis.h
index e49a5947bdb..7375fbd68ec 100644
--- a/src/mess/includes/compis.h
+++ b/src/mess/includes/compis.h
@@ -73,7 +73,7 @@ struct intr_state
UINT16 ext[4];
};
-struct i186_state
+struct i186_state
{
struct timer_state timer[3];
struct dma_state dma[2];
@@ -83,7 +83,7 @@ struct i186_state
/* Keyboard */
-struct TYP_COMPIS_KEYBOARD
+struct TYP_COMPIS_KEYBOARD
{
UINT8 nationality; /* Character set, keyboard layout (Swedish) */
UINT8 release_time; /* Autorepeat release time (0.8) */
@@ -102,14 +102,14 @@ struct TYP_COMPIS_KEYBOARD
};
/* USART 8251 */
-struct TYP_COMPIS_USART
+struct TYP_COMPIS_USART
{
UINT8 status;
UINT8 bytes_sent;
};
/* Printer */
-struct TYP_COMPIS_PRINTER
+struct TYP_COMPIS_PRINTER
{
UINT8 data;
UINT8 strobe;
@@ -117,7 +117,7 @@ struct TYP_COMPIS_PRINTER
/* Main emulation */
-struct TYP_COMPIS
+struct TYP_COMPIS
{
TYP_COMPIS_PRINTER printer; /* Printer */
TYP_COMPIS_USART usart; /* USART 8251 */
diff --git a/src/mess/includes/concept.h b/src/mess/includes/concept.h
index 42196b979ca..7cbd5a4d935 100644
--- a/src/mess/includes/concept.h
+++ b/src/mess/includes/concept.h
@@ -21,7 +21,7 @@ enum
MaxKeyMessageLen = 1
};
-struct expansion_slot_t
+struct expansion_slot_t
{
read8_space_func reg_read;
write8_space_func reg_write;
diff --git a/src/mess/includes/cxhumax.h b/src/mess/includes/cxhumax.h
index d00fe40f37b..ca5da0d57b8 100644
--- a/src/mess/includes/cxhumax.h
+++ b/src/mess/includes/cxhumax.h
@@ -9,7 +9,7 @@
#define MAX_CX_TIMERS 16
-struct cx_timer_t
+struct cx_timer_t
{
UINT32 value;
UINT32 limit;
@@ -18,7 +18,7 @@ struct cx_timer_t
emu_timer *timer;
};
-struct cx_timer_regs_t
+struct cx_timer_regs_t
{
cx_timer_t timer[MAX_CX_TIMERS];
UINT32 timer_irq;
diff --git a/src/mess/includes/cybiko.h b/src/mess/includes/cybiko.h
index 769d1208a41..a200a60a644 100644
--- a/src/mess/includes/cybiko.h
+++ b/src/mess/includes/cybiko.h
@@ -28,14 +28,14 @@
#include "machine/sst39vfx.h"
#include "machine/ram.h"
-struct CYBIKO_RS232_PINS
+struct CYBIKO_RS232_PINS
{
int sck; // serial clock
int txd; // transmit data
int rxd; // receive data
};
-struct CYBIKO_RS232
+struct CYBIKO_RS232
{
CYBIKO_RS232_PINS pin;
UINT8 rx_bits, rx_byte, tx_byte, tx_bits;
diff --git a/src/mess/includes/dgn_beta.h b/src/mess/includes/dgn_beta.h
index f9077d09910..f3bbe4bc70d 100644
--- a/src/mess/includes/dgn_beta.h
+++ b/src/mess/includes/dgn_beta.h
@@ -63,7 +63,7 @@
/***** Video Modes *****/
-enum BETA_VID_MODES
+enum BETA_VID_MODES
{
TEXT_40x25, /* Text mode 40x25 */
TEXT_80x25, /* Text mode 80x25 */
@@ -74,7 +74,7 @@ enum BETA_VID_MODES
#define iosize (0xfEFF-0xfc00)
-struct PageReg
+struct PageReg
{
int value; /* Value of the page register */
UINT8 *memory; /* The memory it actually points to */
diff --git a/src/mess/includes/electron.h b/src/mess/includes/electron.h
index e86692f8685..62a857d866e 100644
--- a/src/mess/includes/electron.h
+++ b/src/mess/includes/electron.h
@@ -23,7 +23,7 @@
/* ULA context */
-struct ULA
+struct ULA
{
UINT8 interrupt_status;
UINT8 interrupt_control;
diff --git a/src/mess/includes/fm7.h b/src/mess/includes/fm7.h
index c41d0302310..693f1693715 100644
--- a/src/mess/includes/fm7.h
+++ b/src/mess/includes/fm7.h
@@ -30,7 +30,7 @@
#define KEY_MODE_FM16B 1 // FM-16B (FM-77AV and later only)
#define KEY_MODE_SCAN 2 // Scancode Make/Break (PC-like)
-struct fm7_encoder_t
+struct fm7_encoder_t
{
UINT8 buffer[12];
UINT8 tx_count;
@@ -42,7 +42,7 @@ struct fm7_encoder_t
UINT8 position;
};
-struct fm7_mmr_t
+struct fm7_mmr_t
{
UINT8 bank_addr[8][16];
UINT8 segment;
@@ -51,7 +51,7 @@ struct fm7_mmr_t
UINT8 mode;
};
-struct fm7_video_t
+struct fm7_video_t
{
UINT8 sub_busy;
UINT8 sub_halt;
@@ -77,7 +77,7 @@ struct fm7_video_t
UINT8 vsync_flag;
};
-struct fm7_alu_t
+struct fm7_alu_t
{
UINT8 command;
UINT8 lcolour;
diff --git a/src/mess/includes/gamecom.h b/src/mess/includes/gamecom.h
index a10b95567de..64725c648e3 100644
--- a/src/mess/includes/gamecom.h
+++ b/src/mess/includes/gamecom.h
@@ -149,7 +149,7 @@ enum
SM8521_SG1W15 = 0x7F
};
-struct GAMECOM_DMA
+struct GAMECOM_DMA
{
int enabled;
int transfer_mode;
@@ -182,7 +182,7 @@ struct GAMECOM_DMA
unsigned int dest_mask;
};
-struct GAMECOM_TIMER
+struct GAMECOM_TIMER
{
int enabled;
int state_count;
@@ -190,7 +190,7 @@ struct GAMECOM_TIMER
int check_value;
};
-struct gamecom_sound_t
+struct gamecom_sound_t
{
UINT8 sgc;
UINT8 sg0l;
diff --git a/src/mess/includes/gb.h b/src/mess/includes/gb.h
index f7a348a6d83..54a3dda6534 100644
--- a/src/mess/includes/gb.h
+++ b/src/mess/includes/gb.h
@@ -241,7 +241,7 @@ public:
DECLARE_MACHINE_RESET(gbpocket);
DECLARE_PALETTE_INIT(gbp);
DECLARE_MACHINE_START(gbc);
- DECLARE_MACHINE_RESET(gbc);
+ DECLARE_MACHINE_RESET(gbc);
DECLARE_PALETTE_INIT(gbc);
DECLARE_MACHINE_START(gb_video);
DECLARE_MACHINE_START(gbc_video);
diff --git a/src/mess/includes/gmaster.h b/src/mess/includes/gmaster.h
index f1d5a91d166..1f1b5960a08 100644
--- a/src/mess/includes/gmaster.h
+++ b/src/mess/includes/gmaster.h
@@ -1,7 +1,7 @@
#ifndef __GMASTER_H__
#define __GMASTER_H__
-struct GMASTER_VIDEO
+struct GMASTER_VIDEO
{
UINT8 data[8];
int index;
@@ -11,7 +11,7 @@ struct GMASTER_VIDEO
UINT8 pixels[8][64/*>=62 sure*/];
};
-struct GMASTER_MACHINE
+struct GMASTER_MACHINE
{
UINT8 ports[5];
};
diff --git a/src/mess/includes/gp32.h b/src/mess/includes/gp32.h
index e6fbb8ff291..048bca837cd 100644
--- a/src/mess/includes/gp32.h
+++ b/src/mess/includes/gp32.h
@@ -34,7 +34,7 @@
#define INT_EINT1 1
#define INT_EINT0 0
-struct s3c240x_lcd_t
+struct s3c240x_lcd_t
{
UINT32 vramaddr_cur;
UINT32 vramaddr_max;
@@ -47,7 +47,7 @@ struct s3c240x_lcd_t
int vpos, hpos;
};
-struct smc_t
+struct smc_t
{
int add_latch;
int chip;
@@ -61,21 +61,21 @@ struct smc_t
UINT8 datatx;
};
-struct i2s_t
+struct i2s_t
{
int l3d;
int l3m;
int l3c;
};
-struct s3c240x_iic_t
+struct s3c240x_iic_t
{
UINT8 data[4];
int data_index;
UINT16 address;
};
-struct s3c240x_iis_t
+struct s3c240x_iis_t
{
UINT16 fifo[16/2];
int fifo_index;
diff --git a/src/mess/includes/hp48.h b/src/mess/includes/hp48.h
index fc4e13b7364..d70054ebba5 100644
--- a/src/mess/includes/hp48.h
+++ b/src/mess/includes/hp48.h
@@ -20,7 +20,7 @@ enum hp48_models {
};
/* memory module configuration */
-struct hp48_module
+struct hp48_module
{
/* static part */
UINT32 off_mask; /* offset bit-mask, indicates the real size */
diff --git a/src/mess/includes/intv.h b/src/mess/includes/intv.h
index 1192688187c..33ff2ab93ae 100644
--- a/src/mess/includes/intv.h
+++ b/src/mess/includes/intv.h
@@ -7,7 +7,7 @@
#ifndef INTV_H_
#define INTV_H_
-struct intv_sprite_type
+struct intv_sprite_type
{
int visible;
int xpos;
diff --git a/src/mess/includes/kyocera.h b/src/mess/includes/kyocera.h
index 6a004b53061..b788cd618ea 100644
--- a/src/mess/includes/kyocera.h
+++ b/src/mess/includes/kyocera.h
@@ -113,7 +113,7 @@ public:
/* sound state */
int m_buzzer; /* buzzer select */
int m_bell; /* bell output */
-
+
DECLARE_PALETTE_INIT(kc85);
};
diff --git a/src/mess/includes/lisa.h b/src/mess/includes/lisa.h
index 10cc368119b..3c56892ed96 100644
--- a/src/mess/includes/lisa.h
+++ b/src/mess/includes/lisa.h
@@ -16,7 +16,7 @@
#define KB_COP421_TAG "kbcop"
/* lisa MMU segment regs */
-struct real_mmu_entry
+struct real_mmu_entry
{
UINT16 sorg;
UINT16 slim;
@@ -25,7 +25,7 @@ struct real_mmu_entry
/* MMU regs translated into a more efficient format */
enum mmu_entry_t { RAM_stack_r, RAM_r, RAM_stack_rw, RAM_rw, IO, invalid, special_IO };
-struct mmu_entry
+struct mmu_entry
{
offs_t sorg; /* (real_sorg & 0x0fff) << 9 */
mmu_entry_t type; /* <-> (real_slim & 0x0f00) */
@@ -48,7 +48,7 @@ enum clock_mode_t
}; /* clock mode */
/* clock registers */
-struct clock_regs_t
+struct clock_regs_t
{
long alarm; /* alarm (20-bit binary) */
int years; /* years (4-bit binary ) */
@@ -68,7 +68,7 @@ struct clock_regs_t
enum clock_mode_t clock_mode;
};
-struct lisa_features_t
+struct lisa_features_t
{
unsigned int has_fast_timers : 1; /* I/O board VIAs are clocked at 1.25 MHz (?) instead of .5 MHz (?) (Lisa 2/10, Mac XL) */
/* Note that the beep routine in boot ROMs implies that
diff --git a/src/mess/includes/lynx.h b/src/mess/includes/lynx.h
index bc803c04f61..0af7f9fbefa 100644
--- a/src/mess/includes/lynx.h
+++ b/src/mess/includes/lynx.h
@@ -15,7 +15,7 @@
class lynx_state;
-struct BLITTER
+struct BLITTER
{
UINT8 *mem;
// global
@@ -54,7 +54,7 @@ struct BLITTER
int busy;
};
-struct UART
+struct UART
{
UINT8 serctl;
UINT8 data_received, data_to_send, buffer;
@@ -63,7 +63,7 @@ struct UART
int buffer_loaded;
};
-struct SUZY
+struct SUZY
{
UINT8 data[0x100];
UINT8 high;
@@ -73,14 +73,14 @@ struct SUZY
int accumulate_overflow;
};
-struct MIKEY
+struct MIKEY
{
UINT8 data[0x100];
UINT16 disp_addr;
UINT8 vb_rest;
};
-struct LYNX_TIMER
+struct LYNX_TIMER
{
UINT8 bakup;
UINT8 cntrl1;
diff --git a/src/mess/includes/mac.h b/src/mess/includes/mac.h
index 1fae2a49aaf..803be472ea8 100644
--- a/src/mess/includes/mac.h
+++ b/src/mess/includes/mac.h
@@ -37,7 +37,7 @@
#define ADB_IS_PM_CLASS ((m_model >= MODEL_MAC_PORTABLE && m_model <= MODEL_MAC_PB100) || (m_model >= MODEL_MAC_PB140 && m_model <= MODEL_MAC_PBDUO_270c))
/* for Egret and CUDA streaming MCU commands, command types */
-enum mac_streaming_t
+enum mac_streaming_t
{
MCU_STREAMING_NONE = 0,
MCU_STREAMING_PRAMRD,
@@ -55,7 +55,7 @@ enum
};
/* tells which model is being emulated (set by macxxx_init) */
-enum model_t
+enum model_t
{
MODEL_MAC_128K512K, // 68000 machines
MODEL_MAC_512KE,
diff --git a/src/mess/includes/macpci.h b/src/mess/includes/macpci.h
index 17832aab5c3..03449d28fed 100644
--- a/src/mess/includes/macpci.h
+++ b/src/mess/includes/macpci.h
@@ -24,7 +24,7 @@
#define MAC_539X_2_TAG "539x_2"
/* tells which model is being emulated (set by macxxx_init) */
-enum model_t
+enum model_t
{
PCIMODEL_MAC_PM5200,
PCIMODEL_MAC_PM6200,
diff --git a/src/mess/includes/mbc55x.h b/src/mess/includes/mbc55x.h
index 9b7dc32e41f..3f4a5b74c89 100644
--- a/src/mess/includes/mbc55x.h
+++ b/src/mess/includes/mbc55x.h
@@ -75,7 +75,7 @@
#define FDC_TAG "wd1793"
-struct keyboard_t
+struct keyboard_t
{
UINT8 keyrows[MBC55X_KEYROWS];
emu_timer *keyscan_timer;
@@ -161,7 +161,7 @@ public:
/* IO chips */
-struct msm_rx_t
+struct msm_rx_t
{
};
diff --git a/src/mess/includes/nascom1.h b/src/mess/includes/nascom1.h
index 3f6abe0ed2b..33582481413 100644
--- a/src/mess/includes/nascom1.h
+++ b/src/mess/includes/nascom1.h
@@ -10,13 +10,13 @@
#include "imagedev/snapquik.h"
#include "machine/wd17xx.h"
-struct nascom1_portstat_t
+struct nascom1_portstat_t
{
UINT8 stat_flags;
UINT8 stat_count;
};
-struct nascom2_fdc_t
+struct nascom2_fdc_t
{
UINT8 select;
UINT8 irq;
diff --git a/src/mess/includes/nes.h b/src/mess/includes/nes.h
index 5e4c271ff7a..029eab0e6da 100644
--- a/src/mess/includes/nes.h
+++ b/src/mess/includes/nes.h
@@ -35,7 +35,7 @@ struct nes_input
#define CHRROM 0
#define CHRRAM 1
-struct chr_bank
+struct chr_bank
{
int source; //defines source of base pointer
int origin; //defines offset of 0x400 byte segment at base pointer
@@ -53,7 +53,7 @@ struct chr_bank
#define NES_BATTERY 0
#define NES_WRAM 1
-struct name_table
+struct name_table
{
int source; /* defines source of base pointer */
int origin; /* defines offset of 0x400 byte segment at base pointer */
diff --git a/src/mess/includes/odyssey2.h b/src/mess/includes/odyssey2.h
index 93e00f109ed..b0077fa6251 100644
--- a/src/mess/includes/odyssey2.h
+++ b/src/mess/includes/odyssey2.h
@@ -54,7 +54,7 @@ union o2_vdc_t {
} s;
};
-struct ef9341_t
+struct ef9341_t
{
UINT8 X;
UINT8 Y;
diff --git a/src/mess/includes/oric.h b/src/mess/includes/oric.h
index 3646d382459..6d5d75a9531 100644
--- a/src/mess/includes/oric.h
+++ b/src/mess/includes/oric.h
@@ -30,7 +30,7 @@ enum
TELESTRAT_MEM_BLOCK_ROM
};
-struct telestrat_mem_block
+struct telestrat_mem_block
{
int MemType;
unsigned char *ptr;
@@ -40,7 +40,7 @@ struct telestrat_mem_block
/* current state of the display */
/* some attributes persist until they are turned off.
This structure holds this persistant information */
-struct oric_vh_state
+struct oric_vh_state
{
/* foreground and background colour used for rendering */
/* if flash attribute is set, these two will both be equal to background colour */
diff --git a/src/mess/includes/p2000t.h b/src/mess/includes/p2000t.h
index 57ab913327e..b9c5a5dc995 100644
--- a/src/mess/includes/p2000t.h
+++ b/src/mess/includes/p2000t.h
@@ -40,7 +40,7 @@ public:
UINT8 m_port_202f;
UINT8 m_port_303f;
UINT8 m_port_707f;
- INT8 m_frame_count;
+ INT8 m_frame_count;
DECLARE_VIDEO_START(p2000m);
DECLARE_PALETTE_INIT(p2000m);
};
diff --git a/src/mess/includes/pc8401a.h b/src/mess/includes/pc8401a.h
index ef421c9ae18..902236b69a4 100644
--- a/src/mess/includes/pc8401a.h
+++ b/src/mess/includes/pc8401a.h
@@ -65,7 +65,7 @@ public:
DECLARE_READ8_MEMBER( ppi_pc_r );
DECLARE_WRITE8_MEMBER( ppi_pc_w );
DECLARE_PALETTE_INIT(pc8401a);
-
+
void scan_keyboard();
void bankswitch(UINT8 data);
diff --git a/src/mess/includes/pce.h b/src/mess/includes/pce.h
index 9df0e86b795..b2beec59a35 100644
--- a/src/mess/includes/pce.h
+++ b/src/mess/includes/pce.h
@@ -31,7 +31,7 @@
/* the largest possible cartridge image (street fighter 2 - 2.5MB) */
#define PCE_ROM_MAXSIZE 0x280000
-struct pce_cd_t
+struct pce_cd_t
{
UINT8 regs[16];
UINT8 *bram;
diff --git a/src/mess/includes/pdp1.h b/src/mess/includes/pdp1.h
index 3f66c5e18c3..216076b13ab 100644
--- a/src/mess/includes/pdp1.h
+++ b/src/mess/includes/pdp1.h
@@ -164,7 +164,7 @@ enum
};
/* tape reader registers */
-struct tape_reader_t
+struct tape_reader_t
{
device_image_interface *fd; /* file descriptor of tape image */
@@ -182,7 +182,7 @@ struct tape_reader_t
/* tape puncher registers */
-struct tape_puncher_t
+struct tape_puncher_t
{
device_image_interface *fd; /* file descriptor of tape image */
@@ -192,7 +192,7 @@ struct tape_puncher_t
/* typewriter registers */
-struct typewriter_t
+struct typewriter_t
{
device_image_interface *fd; /* file descriptor of output image */
@@ -202,7 +202,7 @@ struct typewriter_t
};
/* MIT parallel drum (mostly similar to type 23) */
-struct parallel_drum_t
+struct parallel_drum_t
{
device_image_interface *fd; /* file descriptor of drum image */
@@ -219,7 +219,7 @@ struct parallel_drum_t
};
-struct lightpen_t
+struct lightpen_t
{
char active;
char down;
diff --git a/src/mess/includes/pet.h b/src/mess/includes/pet.h
index 0c1d3b2d2fa..ed3f92a4895 100644
--- a/src/mess/includes/pet.h
+++ b/src/mess/includes/pet.h
@@ -13,7 +13,7 @@
#include "machine/ieee488.h"
#include "imagedev/cartslot.h"
-struct spet_t
+struct spet_t
{
int bank; /* rambank to be switched in 0x9000 */
int rom; /* rom socket 6502? at 0x9000 */
diff --git a/src/mess/includes/pokemini.h b/src/mess/includes/pokemini.h
index 0e549d2a3c2..1e1b90ffc2a 100644
--- a/src/mess/includes/pokemini.h
+++ b/src/mess/includes/pokemini.h
@@ -14,7 +14,7 @@
#include "rendlay.h"
-struct PRC
+struct PRC
{
UINT8 colors_inverted;
UINT8 background_enabled;
@@ -31,7 +31,7 @@ struct PRC
};
-struct TIMERS
+struct TIMERS
{
emu_timer *seconds_timer;
emu_timer *hz256_timer;
diff --git a/src/mess/includes/rmnimbus.h b/src/mess/includes/rmnimbus.h
index e59a469c762..e70dd9d6b83 100644
--- a/src/mess/includes/rmnimbus.h
+++ b/src/mess/includes/rmnimbus.h
@@ -26,7 +26,7 @@
/* Nimbus sub-bios structures for debugging */
-struct t_area_params
+struct t_area_params
{
UINT16 ofs_brush;
UINT16 seg_brush;
@@ -35,7 +35,7 @@ struct t_area_params
UINT16 count;
};
-struct t_plot_string_params
+struct t_plot_string_params
{
UINT16 ofs_font;
UINT16 seg_font;
@@ -46,7 +46,7 @@ struct t_plot_string_params
UINT16 length;
};
-struct t_nimbus_brush
+struct t_nimbus_brush
{
UINT16 style;
UINT16 style_index;
@@ -110,7 +110,7 @@ struct intr_state
UINT16 ext_vector[2]; // external vectors, when in cascade mode
};
-struct i186_state
+struct i186_state
{
struct timer_state timer[3];
struct dma_state dma[2];
@@ -118,7 +118,7 @@ struct i186_state
struct mem_state mem;
};
-struct keyboard_t
+struct keyboard_t
{
UINT8 keyrows[NIMBUS_KEYROWS];
emu_timer *keyscan_timer;
@@ -128,7 +128,7 @@ struct keyboard_t
};
// Static data related to Floppy and SCSI hard disks
-struct nimbus_drives_t
+struct nimbus_drives_t
{
UINT8 reg400;
UINT8 reg410_in;
@@ -140,7 +140,7 @@ struct nimbus_drives_t
};
/* 8031 Peripheral controler */
-struct ipc_interface_t
+struct ipc_interface_t
{
UINT8 ipc_in;
UINT8 ipc_out;
@@ -152,7 +152,7 @@ struct ipc_interface_t
};
/* Mouse/Joystick */
-struct mouse_joy_state
+struct mouse_joy_state
{
UINT8 m_mouse_px;
UINT8 m_mouse_py;
diff --git a/src/mess/includes/spectrum.h b/src/mess/includes/spectrum.h
index 5aa120b689b..c06f582ba88 100644
--- a/src/mess/includes/spectrum.h
+++ b/src/mess/includes/spectrum.h
@@ -51,7 +51,7 @@
#define TS2068_RIGHT_BORDER 96 /* Number of right hand border pixels */
#define TS2068_SCREEN_WIDTH (TS2068_LEFT_BORDER + TS2068_DISPLAY_XSIZE + TS2068_RIGHT_BORDER)
-struct EVENT_LIST_ITEM
+struct EVENT_LIST_ITEM
{
/* driver defined ID for this write */
int Event_ID;
diff --git a/src/mess/includes/ssystem3.h b/src/mess/includes/ssystem3.h
index 9cf33903358..41955981c84 100644
--- a/src/mess/includes/ssystem3.h
+++ b/src/mess/includes/ssystem3.h
@@ -8,7 +8,7 @@
#define SSYSTEM3_H_
-struct playfield_t
+struct playfield_t
{
int signal;
// int on;
@@ -26,7 +26,7 @@ struct playfield_t
} u;
};
-struct lcd_t
+struct lcd_t
{
UINT8 data[5];
int clock;
diff --git a/src/mess/includes/svi318.h b/src/mess/includes/svi318.h
index 9689851b8df..61baa943be8 100644
--- a/src/mess/includes/svi318.h
+++ b/src/mess/includes/svi318.h
@@ -13,7 +13,7 @@
#include "machine/ins8250.h"
#include "machine/wd17xx.h"
-struct SVI_318
+struct SVI_318
{
/* general */
UINT8 svi318; /* Are we dealing with an SVI-318 or a SVI-328 model. 0 = 328, 1 = 318 */
@@ -37,7 +37,7 @@ struct SVI_318
UINT8 *svi806_gfx;
};
-struct SVI318_FDC_STRUCT
+struct SVI318_FDC_STRUCT
{
UINT8 driveselect;
int drq;
diff --git a/src/mess/includes/svision.h b/src/mess/includes/svision.h
index 68defb725d7..7c685dd8c94 100644
--- a/src/mess/includes/svision.h
+++ b/src/mess/includes/svision.h
@@ -7,13 +7,13 @@
#ifndef SVISION_H_
#define SVISION_H_
-struct svision_t
+struct svision_t
{
emu_timer *timer1;
int timer_shot;
};
-struct svision_pet_t
+struct svision_pet_t
{
int state;
int on, clock, data;
@@ -21,7 +21,7 @@ struct svision_pet_t
emu_timer *timer;
};
-struct tvlink_t
+struct tvlink_t
{
UINT32 palette[4/*0x40?*/]; /* rgb8 */
int palette_on;
diff --git a/src/mess/includes/tx0.h b/src/mess/includes/tx0.h
index 67a7c38d88d..9b96d1872c0 100644
--- a/src/mess/includes/tx0.h
+++ b/src/mess/includes/tx0.h
@@ -55,7 +55,7 @@ enum irg_pos_t
/* tape reader registers */
-struct tape_reader_t
+struct tape_reader_t
{
device_image_interface *fd; /* file descriptor of tape image */
@@ -70,7 +70,7 @@ struct tape_reader_t
/* tape puncher registers */
-struct tape_puncher_t
+struct tape_puncher_t
{
device_image_interface *fd; /* file descriptor of tape image */
@@ -80,7 +80,7 @@ struct tape_puncher_t
/* typewriter registers */
-struct typewriter_t
+struct typewriter_t
{
device_image_interface *fd; /* file descriptor of output image */
@@ -89,7 +89,7 @@ struct typewriter_t
/* magnetic tape unit registers */
-struct magtape_t
+struct magtape_t
{
device_image_interface *img; /* image descriptor */
diff --git a/src/mess/includes/vc4000.h b/src/mess/includes/vc4000.h
index 391124593eb..3610a15669b 100644
--- a/src/mess/includes/vc4000.h
+++ b/src/mess/includes/vc4000.h
@@ -19,12 +19,12 @@
#define ANALOG_HACK
-struct SPRITE_HELPER
+struct SPRITE_HELPER
{
UINT8 bitmap[10],x1,x2,y1,y2, res1, res2;
};
-struct SPRITE
+struct SPRITE
{
const SPRITE_HELPER *data;
int mask;
@@ -37,7 +37,7 @@ struct SPRITE
int finished_now;
};
-struct vc4000_video_t
+struct vc4000_video_t
{
SPRITE sprites[4];
int line;
diff --git a/src/mess/includes/vic20.h b/src/mess/includes/vic20.h
index bc790709f62..c8d762fb058 100644
--- a/src/mess/includes/vic20.h
+++ b/src/mess/includes/vic20.h
@@ -69,7 +69,7 @@ public:
DECLARE_READ8_MEMBER( vic_lightx_cb );
DECLARE_READ8_MEMBER( vic_lighty_cb );
DECLARE_READ8_MEMBER( vic_lightbut_cb );
-
+
DECLARE_READ8_MEMBER( via0_pa_r );
DECLARE_WRITE8_MEMBER( via0_pa_w );
diff --git a/src/mess/includes/wswan.h b/src/mess/includes/wswan.h
index cea55dc27cb..f134e1a8018 100644
--- a/src/mess/includes/wswan.h
+++ b/src/mess/includes/wswan.h
@@ -40,7 +40,7 @@
#include "machine/nvram.h"
-struct EEPROM
+struct EEPROM
{
UINT8 mode; /* eeprom mode */
UINT16 address; /* Read/write address */
@@ -52,7 +52,7 @@ struct EEPROM
UINT8 *page; /* pointer to current sram/eeprom page */
};
-struct RTC
+struct RTC
{
UINT8 present; /* Is an RTC present */
UINT8 setting; /* Timer setting byte */
@@ -66,14 +66,14 @@ struct RTC
UINT8 index; /* index for reading/writing of current of alarm time */
};
-struct SoundDMA
+struct SoundDMA
{
UINT32 source; /* Source address */
UINT16 size; /* Size */
UINT8 enable; /* Enabled */
};
-struct VDP
+struct VDP
{
UINT8 layer_bg_enable; /* Background layer on/off */
UINT8 layer_fg_enable; /* Foreground layer on/off */
diff --git a/src/mess/includes/x07.h b/src/mess/includes/x07.h
index 99f63fbcbfd..8d4a0fbedbc 100644
--- a/src/mess/includes/x07.h
+++ b/src/mess/includes/x07.h
@@ -86,7 +86,7 @@ static const UINT8 t6834_cmd_len[0x47] =
0x01, 0x09, 0x01, 0x03, 0x03, 0x01, 0x01
};
-struct x07_kb
+struct x07_kb
{
const char *tag; //input port tag
UINT8 mask; //bit mask
diff --git a/src/mess/includes/x1.h b/src/mess/includes/x1.h
index cbf251285cf..a87a96ba33c 100644
--- a/src/mess/includes/x1.h
+++ b/src/mess/includes/x1.h
@@ -44,7 +44,7 @@ private:
virtual void z80daisy_irq_reti();
};
-struct scrn_reg_t
+struct scrn_reg_t
{
UINT8 gfx_bank;
UINT8 disp_bank;
@@ -56,7 +56,7 @@ struct scrn_reg_t
UINT8 blackclip; // x1 turbo specific
};
-struct turbo_reg_t
+struct turbo_reg_t
{
UINT8 pal;
UINT8 gfx_pal;
@@ -64,7 +64,7 @@ struct turbo_reg_t
UINT8 txt_disp;
};
-struct x1_rtc_t
+struct x1_rtc_t
{
UINT8 sec, min, hour, day, wday, month, year;
};
diff --git a/src/mess/includes/z80ne.h b/src/mess/includes/z80ne.h
index 26925192abc..59e31b98b4d 100644
--- a/src/mess/includes/z80ne.h
+++ b/src/mess/includes/z80ne.h
@@ -26,7 +26,7 @@
#define LX385_TAPE_SAMPLE_FREQ 38400
/* wave duration threshold */
-enum z80netape_speed
+enum z80netape_speed
{
TAPE_300BPS = 300, /* 300 bps */
TAPE_600BPS = 600, /* 600 bps */