~ubuntu-branches/debian/wheezy/mame/wheezy

« back to all changes in this revision

Viewing changes to src/emu/sound/scsplfo.c

  • Committer: Bazaar Package Importer
  • Author(s): Jordi Mallach, Emmanuel Kasper, Félix Arreola Rodríguez, Jordi Mallach
  • Date: 2011-05-11 21:06:50 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20110511210650-jizvh8a6x117y9hr
Tags: 0.142-1
[ Emmanuel Kasper ]
* New upstream release
* Set NOWERROR=1 to allow compiling with gcc-4.6
* Remove fix_powerpc_build.patch, as upstream has taken it in this release
* Add gnome-video-arcade front end as a suggested package

[ Félix Arreola Rodríguez ]
* Add kfreebsd-build.patch to quilt series, to fix build on kfreebsd

[ Jordi Mallach ]
* Remove unneeded and bogus addition of --with-quilt to the dh invocation.
* Add Cesare Falco (long time Ubuntu maintainer) to Uploaders, and wrap
  them into multiple lines.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
static int PSCALES[8][256];
39
39
static int ASCALES[8][256];
40
40
 
41
 
static void LFO_Init(running_machine *machine)
 
41
static void LFO_Init(running_machine &machine)
42
42
{
43
43
    int i,s;
44
44
    for(i=0;i<256;++i)
86
86
 
87
87
                //noise
88
88
                //a=lfo_noise[i];
89
 
                a=machine->rand()&0xff;
 
89
                a=machine.rand()&0xff;
90
90
                p=128-a;
91
91
                ALFO_NOI[i]=a;
92
92
                PLFO_NOI[i]=p;