File tree Expand file tree Collapse file tree 5 files changed +8
-3
lines changed Expand file tree Collapse file tree 5 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -1927,7 +1927,7 @@ save_machine(void)
1927
1927
else
1928
1928
ini_section_delete_var (cat , "cpu_override" );
1929
1929
if (cpu_override_interpreter )
1930
- ini_section_set_int (cat , "cpu_override_interpreter" , cpu_override );
1930
+ ini_section_set_int (cat , "cpu_override_interpreter" , cpu_override_interpreter );
1931
1931
else
1932
1932
ini_section_delete_var (cat , "cpu_override_interpreter" );
1933
1933
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ machine_at_s1857_init(const machine_t *model)
100
100
device_add (& i440bx_device );
101
101
device_add (& piix4e_device );
102
102
device_add (& keyboard_ps2_ami_pci_device );
103
- device_add (& w83977ef_370_device );
103
+ device_add (& w83977ef_device );
104
104
device_add (& intel_flash_bxt_device );
105
105
spd_register (SPD_TYPE_SDRAM , 0x7 , 256 );
106
106
Original file line number Diff line number Diff line change @@ -485,6 +485,8 @@ class ymfm_saved_state
485
485
class ymfm_engine_callbacks
486
486
{
487
487
public:
488
+ virtual ~ymfm_engine_callbacks () = default ;
489
+
488
490
// timer callback; called by the interface when a timer fires
489
491
virtual void engine_timer_expired (uint32_t tnum) = 0;
490
492
@@ -506,6 +508,7 @@ class ymfm_interface
506
508
template <typename RegisterType> friend class fm_engine_base ;
507
509
508
510
public:
511
+ virtual ~ymfm_interface () = default ;
509
512
// the following functions must be implemented by any derived classes; the
510
513
// default implementations are sufficient for some minimal operation, but will
511
514
// likely need to be overridden to integrate with the outside world; they are
Original file line number Diff line number Diff line change @@ -1518,7 +1518,7 @@ void fm_engine_base<RegisterType>::engine_timer_expired(uint32_t tnum)
1518
1518
for (uint32_t chnum = 0 ; chnum < CHANNELS; chnum++)
1519
1519
if (bitfield (RegisterType::CSM_TRIGGER_MASK, chnum))
1520
1520
{
1521
- m_channel[chnum]->keyonoff (1 , KEYON_CSM, chnum);
1521
+ m_channel[chnum]->keyonoff (0xf , KEYON_CSM, chnum);
1522
1522
m_modified_channels |= 1 << chnum;
1523
1523
}
1524
1524
Original file line number Diff line number Diff line change @@ -49,6 +49,8 @@ namespace ymfm
49
49
class ssg_override
50
50
{
51
51
public:
52
+ virtual ~ssg_override () = default ;
53
+
52
54
// reset our status
53
55
virtual void ssg_reset () = 0;
54
56
You can’t perform that action at this time.
0 commit comments