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

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Jordi Mallach, Emmanuel Kasper, Jordi Mallach
  • Date: 2012-06-05 20:02:23 UTC
  • mfrom: (0.3.1) (0.1.4)
  • Revision ID: package-import@ubuntu.com-20120605200223-gnlpogjrg6oqe9md
Tags: 0.146-1
[ Emmanuel Kasper ]
* New upstream release
* Drop patch to fix man pages section and patches to link with flac 
  and jpeg system lib: all this has been pushed upstream by Cesare Falco
* Add DM-Upload-Allowed: yes field.

[ Jordi Mallach ]
* Create a "gnu" TARGETOS stanza that defines NO_AFFINITY_NP.
* Stop setting TARGETOS to "unix" in d/rules. It should be autodetected,
  and set to the appropriate value.
* mame_manpage_section.patch: Change mame's manpage section to 6 (games),
  in the TH declaration.

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
 
56
56
DISCRETE_STEP(dss_adjustment)
57
57
{
58
 
        INT32  rawportval = input_port_read_direct(m_port);
 
58
        INT32  rawportval = m_port->read();
59
59
 
60
60
        /* only recompute if the value changed from last time */
61
61
        if (UNEXPECTED(rawportval != m_lastpval))
76
76
        double min, max;
77
77
 
78
78
        astring fulltag;
79
 
        m_port = m_device->machine().m_portlist.find(m_device->siblingtag(fulltag, (const char *)this->custom_data()).cstr());
 
79
        m_port = m_device->machine().root_device().ioport(m_device->siblingtag(fulltag, (const char *)this->custom_data()).cstr());
80
80
        if (m_port == NULL)
81
81
                fatalerror("DISCRETE_ADJUSTMENT - NODE_%d has invalid tag", this->index());
82
82