~ubuntu-branches/ubuntu/lucid/sdlmame/lucid

« back to all changes in this revision

Viewing changes to src/mame/video/arabian.c

  • Committer: Bazaar Package Importer
  • Author(s): Cesare Falco
  • Date: 2009-11-03 17:10:15 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20091103171015-6hop4ory5lxnumpn
Tags: 0.135-0ubuntu1
* New upstream release - Closes (LP: #403212)
* debian/watch: unstable releases are no longer detected
* mame.ini: added the cheat subdirectories to cheatpath so zipped
  cheatfiles will be searched too
* renamed crsshair subdirectory to crosshair to reflect upstream change
* mame.ini: renamed references to crosshair subdirectory (see above)

Show diffs side-by-side

added added

removed removed

Lines of Context:
86
86
        -------------------------------------------------------------------------*/
87
87
 
88
88
                int rhi = planea ? ar : enb ? bz : 0;
89
 
                int rlo = planea ? ((!arhf & az) ? 0 : ar) : enb ? br : 0;
 
89
                int rlo = planea ? (((!arhf) & az) ? 0 : ar) : enb ? br : 0;
90
90
 
91
91
                /*-------------------------------------------------------------------------
92
92
            green derivation:
117
117
        -------------------------------------------------------------------------*/
118
118
 
119
119
                int ghi = planea ? ag : enb ? bb : 0;
120
 
                int glo = planea ? ((!aghf & az) ? 0 : ag) : enb ? bg : 0;
 
120
                int glo = planea ? (((!aghf) & az) ? 0 : ag) : enb ? bg : 0;
121
121
 
122
122
                /*-------------------------------------------------------------------------
123
123
            blue derivation:
138
138
        -------------------------------------------------------------------------*/
139
139
 
140
140
                int bhi = ab;
141
 
                int bbase = (!abhf & az) ? 0 : ab;
 
141
                int bbase = ((!abhf) & az) ? 0 : ab;
142
142
 
143
143
                /* convert an RGB color -
144
144
           there are effectively 6 bits of color: 2 red, 2 green, 2 blue */