From 34642a5def7d2e7014092c90c73317ce898736af Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Wed, 2 Jan 2008 15:14:42 +0000 Subject: [PATCH] Compilation fixes for MSVC. --- src/mame/includes/mario.h | 1 + src/mame/machine/snesdsp1.c | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/mame/includes/mario.h b/src/mame/includes/mario.h index 691e4a5808d..80b7da9f85f 100644 --- a/src/mame/includes/mario.h +++ b/src/mame/includes/mario.h @@ -44,6 +44,7 @@ struct _mario_state /* Save state relevant */ + UINT8 dummy; /* structs need to have something */ }; /*----------- defined in video/mario.c -----------*/ diff --git a/src/mame/machine/snesdsp1.c b/src/mame/machine/snesdsp1.c index d497f5af382..68d2bc7c40f 100644 --- a/src/mame/machine/snesdsp1.c +++ b/src/mame/machine/snesdsp1.c @@ -42,9 +42,9 @@ struct DSP1_Command { static const struct DSP1_Command mCommandTable[0x40]; static const INT16 DSP1_MaxAZS_Exp[16]; -static const INT16 DSP1_SinTable[]; -static const INT16 DSP1_MulTable[]; -static UINT16 DSP1_DataRom[]; +static const INT16 DSP1_SinTable[256]; +static const INT16 DSP1_MulTable[256]; +static UINT16 DSP1_DataRom[1024]; static struct SharedData { // some RAM variables shared between commands INT16 MatrixA[3][3]; // attitude matrix A