From: Atari Ace [mailto:atari_ace@verizon.net]

Subject: [patch] gcc 4.3.0 fixes

Hi mamedev,

GCC 4.3.0 was recently released, and some adjustments need to be made
to MAME to compile successfully with it.  The idectrl.c change is only
needed to silence gcc's overwrite warnings, the code is correct as
written.  The tx1.c change on the other hand is a bug spotted by the
stricter checks in the new compiler.

[Note only the tx1 changes were accepted]
This commit is contained in:
Aaron Giles 2008-03-24 01:48:21 +00:00
parent 3a79e95d54
commit 07ed6b77b8

View File

@ -122,7 +122,7 @@ static const double tx1_engine_gains[16] =
static UINT8 ay_outputa;
static UINT8 ay_outputb;
static double weights0[3], weights1[3], weights2[4];
static double weights0[4], weights1[3], weights2[3];
static int eng0[4];
static int eng1[4];
static int eng2[4];