Merge branch 'master' of https://github.com/86Box/86Box
This commit is contained in:
@@ -1927,7 +1927,7 @@ save_machine(void)
|
|||||||
else
|
else
|
||||||
ini_section_delete_var(cat, "cpu_override");
|
ini_section_delete_var(cat, "cpu_override");
|
||||||
if (cpu_override_interpreter)
|
if (cpu_override_interpreter)
|
||||||
ini_section_set_int(cat, "cpu_override_interpreter", cpu_override);
|
ini_section_set_int(cat, "cpu_override_interpreter", cpu_override_interpreter);
|
||||||
else
|
else
|
||||||
ini_section_delete_var(cat, "cpu_override_interpreter");
|
ini_section_delete_var(cat, "cpu_override_interpreter");
|
||||||
|
|
||||||
|
@@ -485,6 +485,8 @@ public:
|
|||||||
class ymfm_engine_callbacks
|
class ymfm_engine_callbacks
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
virtual ~ymfm_engine_callbacks() = default;
|
||||||
|
|
||||||
// timer callback; called by the interface when a timer fires
|
// timer callback; called by the interface when a timer fires
|
||||||
virtual void engine_timer_expired(uint32_t tnum) = 0;
|
virtual void engine_timer_expired(uint32_t tnum) = 0;
|
||||||
|
|
||||||
@@ -506,6 +508,7 @@ class ymfm_interface
|
|||||||
template<typename RegisterType> friend class fm_engine_base;
|
template<typename RegisterType> friend class fm_engine_base;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
virtual ~ymfm_interface() = default;
|
||||||
// the following functions must be implemented by any derived classes; the
|
// the following functions must be implemented by any derived classes; the
|
||||||
// default implementations are sufficient for some minimal operation, but will
|
// default implementations are sufficient for some minimal operation, but will
|
||||||
// likely need to be overridden to integrate with the outside world; they are
|
// likely need to be overridden to integrate with the outside world; they are
|
||||||
|
@@ -1518,7 +1518,7 @@ void fm_engine_base<RegisterType>::engine_timer_expired(uint32_t tnum)
|
|||||||
for (uint32_t chnum = 0; chnum < CHANNELS; chnum++)
|
for (uint32_t chnum = 0; chnum < CHANNELS; chnum++)
|
||||||
if (bitfield(RegisterType::CSM_TRIGGER_MASK, chnum))
|
if (bitfield(RegisterType::CSM_TRIGGER_MASK, chnum))
|
||||||
{
|
{
|
||||||
m_channel[chnum]->keyonoff(1, KEYON_CSM, chnum);
|
m_channel[chnum]->keyonoff(0xf, KEYON_CSM, chnum);
|
||||||
m_modified_channels |= 1 << chnum;
|
m_modified_channels |= 1 << chnum;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -49,6 +49,8 @@ namespace ymfm
|
|||||||
class ssg_override
|
class ssg_override
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
virtual ~ssg_override() = default;
|
||||||
|
|
||||||
// reset our status
|
// reset our status
|
||||||
virtual void ssg_reset() = 0;
|
virtual void ssg_reset() = 0;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user