~ubuntu-branches/ubuntu/precise/mame/precise-proposed

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Cesare Falco
  • Date: 2011-11-30 18:50:10 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20111130185010-02hcxybht1mn082w
Tags: 0.144-0ubuntu1
* New upstream release (LP: #913550)
* mame.install:
  - Added artwork/ images to be used with -effect switch
  - Be more selective with hash/ contents
* contrib/mame.ini: added /usr/share/games/mame/artwork/ to artpath

Show diffs side-by-side

added added

removed removed

Lines of Context:
495
495
    The whole table takes: 64 * 210 = 13440 samples.
496
496
 
497
497
    When AM = 1 data is used directly
498
 
    When AM = 0 data is divided by 4 before being used (loosing precision is important)
 
498
    When AM = 0 data is divided by 4 before being used (losing precision is important)
499
499
*/
500
500
 
501
501
#define LFO_AM_TAB_ELEMENTS 210
2104
2104
                        case 9: case 10: case 11:
2105
2105
                                if (CH->extended)
2106
2106
                                {
2107
 
                                        UINT8 conn = (CH->SLOT[SLOT1].CON<<1) || ((CH+3)->SLOT[SLOT1].CON<<0);
 
2107
                                        UINT8 conn = (CH->SLOT[SLOT1].CON<<1) | ((CH+3)->SLOT[SLOT1].CON<<0);
2108
2108
                                        switch(conn)
2109
2109
                                        {
2110
2110
                                        case 0:
2156
2156
                        case 12: case 13: case 14:
2157
2157
                                if ((CH-3)->extended)
2158
2158
                                {
2159
 
                                        UINT8 conn = ((CH-3)->SLOT[SLOT1].CON<<1) || (CH->SLOT[SLOT1].CON<<0);
 
2159
                                        UINT8 conn = ((CH-3)->SLOT[SLOT1].CON<<1) | (CH->SLOT[SLOT1].CON<<0);
2160
2160
                                        switch(conn)
2161
2161
                                        {
2162
2162
                                        case 0: