add OPN chip

pretty much copy-paste from YM2610B code

next up: even more blatant copy-paste in 2608
This commit is contained in:
tildearrow 2022-05-11 03:29:03 -05:00
parent 431b6b5957
commit ab969c1da0
8 changed files with 1329 additions and 1 deletions

View file

@ -29,6 +29,7 @@
#include "platform/c64.h"
#include "platform/arcade.h"
#include "platform/tx81z.h"
#include "platform/ym2203.h"
#include "platform/ym2610.h"
#include "platform/ym2610ext.h"
#include "platform/ym2610b.h"
@ -234,6 +235,9 @@ void DivDispatchContainer::init(DivSystem sys, DivEngine* eng, int chanCount, do
case DIV_SYSTEM_TIA:
dispatch=new DivPlatformTIA;
break;
case DIV_SYSTEM_OPN:
dispatch=new DivPlatformYM2203;
break;
case DIV_SYSTEM_OPLL:
case DIV_SYSTEM_OPLL_DRUMS:
case DIV_SYSTEM_VRC7: