Compiling ymfm on MSVC currently produces the following warning:
ymfm\src\ymfm_fm.h(459,1): warning C4265: 'ymfm::fm_engine_base<ymfm::opl_registers>': class has virtual functions, but its non-trivial destructor is not virtual; instances of this class may not be destructed correctly
To ensure any classes deriving from ymfm interfaces don't leak, I added virtual destructors to all the base abstract classes.
Compiling ymfm on MSVC currently produces the following warning:
To ensure any classes deriving from ymfm interfaces don't leak, I added virtual destructors to all the base abstract classes.