~ubuntu-branches/debian/sid/mame/sid

« back to all changes in this revision

Viewing changes to src/emu/machine/68681.c

  • Committer: Package Import Robot
  • Author(s): Jordi Mallach, Jordi Mallach, Emmanuel Kasper
  • Date: 2011-12-19 22:56:27 UTC
  • mfrom: (0.1.2)
  • Revision ID: package-import@ubuntu.com-20111219225627-ub5oga1oys4ogqzm
Tags: 0.144-1
[ Jordi Mallach ]
* Fix syntax errors in DEP5 copyright file (lintian).
* Use a versioned copyright Format specification field.
* Update Vcs-* URLs.
* Move transitional packages to the new metapackages section, and make
  them priority extra.
* Remove references to GNU/Linux and MESS sources from copyright.
* Add build variables for s390x.
* Use .xz tarballs as it cuts 4MB for the upstream sources.
* Add nplayers.ini as a patch. Update copyright file to add CC-BY-SA-3.0.

[ Emmanuel Kasper ]
* New upstream release. Closes: #651538.
* Add Free Desktop compliant png icons of various sizes taken from
  the hydroxygen iconset
* Mess is now built from a new source package, to avoid possible source
  incompatibilities between mame and the mess overlay.
* Mame-tools are not built from the mame source package anymore, but
  from the mess source package

Show diffs side-by-side

added added

removed removed

Lines of Context:
574
574
                                                //attotime rate = attotime::from_hz(duart68681->clock) * (16*duart68681->CTR.w.l);
575
575
                                                attotime rate = attotime::from_hz(2*device->clock()/(2*16*16*duart68681->CTR.w.l));
576
576
                                                //hz = ATTOSECONDS_TO_HZ(rate.attoseconds);
 
577
 
 
578
                                                // workaround for maygay1b locking up MAME
 
579
                                                if ((2*device->clock()/(2*16*16*duart68681->CTR.w.l)) == 0)
 
580
                                                {
 
581
                                                        rate = attotime::from_hz(1);
 
582
                                                }
 
583
 
577
584
                                                duart68681->duart_timer->adjust(rate, 0, rate);
578
585
                                        }
579
586
                                        break;