summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/sound/aicalfo.c
Commit message (Collapse)AuthorAgeFilesLines
* last round of *.c -> *.inc renaming for now (nw) Oliver Stöneberg2014-03-191-159/+0
|
* Cleanups and version bumpmame0148 Miodrag Milanovic2013-01-111-26/+26
|
* Final round of struct/union/enum normalization. Aaron Giles2012-09-161-4/+4
|
* BIG update. Aaron Giles2011-03-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove redundant machine items from address_space and device_t. Neither machine nor m_machine are directly accessible anymore. Instead a new getter machine() is available which returns a machine reference. So: space->machine->xxx ==> space->machine().xxx device->machine->yyy ==> device->machine().yyy Globally changed all running_machine pointers to running_machine references. Any function/method that takes a running_machine takes it as a required parameter (1 or 2 exceptions). Being consistent here gets rid of a lot of odd &machine or *machine, but it does mean a very large bulk change across the project. Structs which have a running_machine * now have that variable renamed to m_machine, and now have a shiny new machine() method that works like the space and device methods above. Since most of these are things that should eventually be devices anyway, consider this a step in that direction. 98% of the update was done with regex searches. The changes are architected such that the compiler will catch the remaining errors: // find things that use an embedded machine directly and replace // with a machine() getter call S: ->machine-> R: ->machine\(\)\. // do the same if via a reference S: \.machine-> R: \.machine\(\)\. // convert function parameters to running_machine & S: running_machine \*machine([^;]) R: running_machine \&machine\1 // replace machine-> with machine. S: machine-> R: machine\. // replace &machine() with machine() S: \&([()->a-z0-9_]+machine\(\)) R: \1 // sanity check: look for this used as a cast (running_machine &) // and change to this: *(running_machine *)
* mame_rand() -> machine->rand() Aaron Giles2010-12-311-1/+1
|
* Results of running the latest srcclean. Aaron Giles2009-12-281-3/+3
|
* Hi mamedev, Aaron Giles2008-12-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | This is a reworked/expanded version of the patch I sent yesterday. This one is split into three parts: 1. This introduces function macros for SAMPLES_START, CUSTOM_{START,STOP,RESET}, and ANTIC_RENDERER. 2. This introduces running_machine *machine throughout MAME. Principally it adds running_machine *machine = Machine to the top of functions, but in some static functions the parameter is added directly. Some similar changes in 99xxcore.h, v9938.c, v9938mod.c, galaxold.c, psx.c, taito_l.c are also made to eliminate Machine params. No global API is changed. 3. This changes the APIs introduced in the first part to pass device or space as appropriate. A few similar changes in some other global apis are made as well. The net result of this sequence of patches is to remove 40% of the Machine references and 27 deprecat.h includes. ~aa
* Various clean ups: Couriersud2008-03-011-4/+4
| | | | | * remove more unreachable code * identify more functions not being used * Changed a number of global functions to being static
* Cleanups and version bump for 0.123u2.mame0123u2 Aaron Giles2008-02-211-15/+15
|
* Cleanups to make MSVC happy. Aaron Giles2008-02-171-4/+4
|
* [NAOMI] Added and hooked up AICA (sound chip). Naomi boot sounds now play. R. Belmont2008-02-171-0/+159
Since it's an SCSPx2 with ADPCM instead of FM it's already feature-complete except filter envelopes. A bug in the ARM7 core causes incorrect pan/level values to be computed in e.g. the Naomi SOUND TEST menu (I've also been seeing this in DSF playback). This is not a defect in the AICA. Please credit ElSemi, Deunan Knute, kingshriek, and myself.