add TIA platform

currently there is a desync bug which remains to be fixed...
This commit is contained in:
tildearrow 2022-01-14 03:37:36 -05:00
parent 8c7e58b3d5
commit 573ce69dc7
10 changed files with 1088 additions and 5 deletions

View file

@ -11,6 +11,7 @@
#include "platform/ym2610ext.h"
#include "platform/ay.h"
#include "platform/ay8930.h"
#include "platform/tia.h"
#include "platform/dummy.h"
#include "../ta-log.h"
@ -120,6 +121,9 @@ void DivDispatchContainer::init(DivSystem sys, DivEngine* eng, int chanCount, do
case DIV_SYSTEM_AY8930:
dispatch=new DivPlatformAY8930;
break;
case DIV_SYSTEM_TIA:
dispatch=new DivPlatformTIA;
break;
default:
logW("this system is not supported yet! using dummy platform.\n");
dispatch=new DivPlatformDummy;