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

« back to all changes in this revision

Viewing changes to src/mame/video/eolith.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:
9
9
 
10
10
        if (mem_mask == 0xffffffff)
11
11
        {
 
12
                // candy needs this to always write to RAM (verified that certain glitches, for example the high score table, don't occur on real hw)
 
13
                // other games clearly don't.
 
14
                // is there a cpu bug, or is there more to this logic / a flag which disables it?
 
15
 
12
16
                if (~data & 0x80000000)
13
17
                        *dest = (*dest & 0x0000ffff) | (data & 0xffff0000);
14
18
 
18
22
        else if (((mem_mask == 0xffff0000) && (~data & 0x80000000)) ||
19
23
                 ((mem_mask == 0x0000ffff) && (~data & 0x00008000)))
20
24
                COMBINE_DATA(dest);
 
25
 
21
26
}
22
27
 
23
28