Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c6a0626

Browse files
authoredJun 6, 2024
Merge branch '86Box:master' into master
2 parents 38f08db + 8301f82 commit c6a0626

File tree

5 files changed

+8
-3
lines changed

5 files changed

+8
-3
lines changed
 

‎src/config.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1927,7 +1927,7 @@ save_machine(void)
19271927
else
19281928
ini_section_delete_var(cat, "cpu_override");
19291929
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);
19311931
else
19321932
ini_section_delete_var(cat, "cpu_override_interpreter");
19331933

‎src/machine/m_at_socket370.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ machine_at_s1857_init(const machine_t *model)
100100
device_add(&i440bx_device);
101101
device_add(&piix4e_device);
102102
device_add(&keyboard_ps2_ami_pci_device);
103-
device_add(&w83977ef_370_device);
103+
device_add(&w83977ef_device);
104104
device_add(&intel_flash_bxt_device);
105105
spd_register(SPD_TYPE_SDRAM, 0x7, 256);
106106

‎src/sound/ymfm/ymfm.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -485,6 +485,8 @@ class ymfm_saved_state
485485
class ymfm_engine_callbacks
486486
{
487487
public:
488+
virtual ~ymfm_engine_callbacks() = default;
489+
488490
// timer callback; called by the interface when a timer fires
489491
virtual void engine_timer_expired(uint32_t tnum) = 0;
490492

@@ -506,6 +508,7 @@ class ymfm_interface
506508
template<typename RegisterType> friend class fm_engine_base;
507509

508510
public:
511+
virtual ~ymfm_interface() = default;
509512
// the following functions must be implemented by any derived classes; the
510513
// default implementations are sufficient for some minimal operation, but will
511514
// likely need to be overridden to integrate with the outside world; they are

‎src/sound/ymfm/ymfm_fm.ipp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1518,7 +1518,7 @@ void fm_engine_base<RegisterType>::engine_timer_expired(uint32_t tnum)
15181518
for (uint32_t chnum = 0; chnum < CHANNELS; chnum++)
15191519
if (bitfield(RegisterType::CSM_TRIGGER_MASK, chnum))
15201520
{
1521-
m_channel[chnum]->keyonoff(1, KEYON_CSM, chnum);
1521+
m_channel[chnum]->keyonoff(0xf, KEYON_CSM, chnum);
15221522
m_modified_channels |= 1 << chnum;
15231523
}
15241524

‎src/sound/ymfm/ymfm_ssg.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ namespace ymfm
4949
class ssg_override
5050
{
5151
public:
52+
virtual ~ssg_override() = default;
53+
5254
// reset our status
5355
virtual void ssg_reset() = 0;
5456

0 commit comments

Comments
 (0)
Please sign in to comment.