diff options
author | 2010-03-18 07:33:29 +0000 | |
---|---|---|
committer | 2010-03-18 07:33:29 +0000 | |
commit | 4118089801f4df49edf6a2f8373433335fc8cff7 (patch) | |
tree | e3c5863caca3398ccb77d81b47c77171625d13f0 /src/emu | |
parent | 3f9731bebbe6735b7ca41657454e9cb4998f5b39 (diff) |
Fixed VS2010 compiling
Diffstat (limited to 'src/emu')
-rw-r--r-- | src/emu/cpu/v30mz/nec.h | 6 | ||||
-rw-r--r-- | src/emu/cpu/v30mz/v30mz.c | 10 | ||||
-rw-r--r-- | src/emu/sound/votrax.c | 4 |
3 files changed, 10 insertions, 10 deletions
diff --git a/src/emu/cpu/v30mz/nec.h b/src/emu/cpu/v30mz/nec.h index 82859744de6..a5ef666f0d4 100644 --- a/src/emu/cpu/v30mz/nec.h +++ b/src/emu/cpu/v30mz/nec.h @@ -3,6 +3,12 @@ #define __NECINTRF_H__ +typedef struct _nec_config nec_config; +struct _nec_config +{ + const UINT8* v25v35_decryptiontable; // internal decryption table +}; + enum { NEC_PC=0, diff --git a/src/emu/cpu/v30mz/v30mz.c b/src/emu/cpu/v30mz/v30mz.c index 5ab4d433b00..b1a0c91d12a 100644 --- a/src/emu/cpu/v30mz/v30mz.c +++ b/src/emu/cpu/v30mz/v30mz.c @@ -60,16 +60,10 @@ typedef union UINT8 b[16]; /* or as 8 bit registers */ } necbasicregs; -typedef struct _nec_config nec_config; -struct _nec_config -{ - const UINT8* v25v35_decryptiontable; // internal decryption table -}; - /* default configuration */ static const nec_config default_config = { - NULL + NULL // no internal decryption table }; typedef struct _v30mz_state v30mz_state; @@ -81,7 +75,7 @@ struct _v30mz_state UINT16 ip; INT32 SignVal; - UINT32 AuxVal, OverVal, ZeroVal, CarryVal, ParityVal; /* 0 or non-0 valued flags */ + UINT32 AuxVal, OverVal, ZeroVal, CarryVal, ParityVal; /* 0 or non-0 valued flags */ UINT8 TF, IF, DF, MF; /* 0 or 1 valued flags */ /* OB[19.07.99] added Mode Flag V30 */ UINT32 int_vector; UINT32 pending_irq; diff --git a/src/emu/sound/votrax.c b/src/emu/sound/votrax.c index 21bd3a19eb1..9c1cda7ea9c 100644 --- a/src/emu/sound/votrax.c +++ b/src/emu/sound/votrax.c @@ -35,7 +35,7 @@ struct _votrax_state UINT32 frac; UINT32 step; - struct loaded_samples *samples; + loaded_samples *samples; }; INLINE votrax_state *get_safe_token(running_device *device) @@ -71,7 +71,7 @@ static const char *const VotraxTable[65] = static STREAM_UPDATE( votrax_update_sound ) { - votrax_state *info = param; + votrax_state *info = (votrax_state*) param; stream_sample_t *buffer = outputs[0]; if (info->sample) |