Skip to content

Commit

Permalink
update to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
toxieainc committed Jan 5, 2024
1 parent d0528cb commit 9f41e2c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ext/ymfm/ymfm.h
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,8 @@ class ymfm_saved_state
class ymfm_engine_callbacks
{
public:
virtual ~ymfm_engine_callbacks() = default;

// timer callback; called by the interface when a timer fires
virtual void engine_timer_expired(uint32_t tnum) = 0;

Expand All @@ -510,6 +512,8 @@ class ymfm_interface
template<typename RegisterType> friend class fm_engine_base;

public:
virtual ~ymfm_interface() = default;

// the following functions must be implemented by any derived classes; the
// default implementations are sufficient for some minimal operation, but will
// likely need to be overridden to integrate with the outside world; they are
Expand Down
2 changes: 1 addition & 1 deletion ext/ymfm/ymfm_fm.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -1515,7 +1515,7 @@ void fm_engine_base<RegisterType>::engine_timer_expired(uint32_t tnum)
for (uint32_t chnum = 0; chnum < CHANNELS; 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;
}

Expand Down
2 changes: 2 additions & 0 deletions ext/ymfm/ymfm_ssg.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ namespace ymfm
class ssg_override
{
public:
virtual ~ssg_override() = default;

// reset our status
virtual void ssg_reset() = 0;

Expand Down

0 comments on commit 9f41e2c

Please sign in to comment.