Add VIC-20 support

This commit is contained in:
Natt Akuma 2022-03-22 14:48:48 +07:00
parent 6c10c269a1
commit feb138cefc
9 changed files with 749 additions and 3 deletions

View file

@ -47,6 +47,7 @@
#include "platform/lynx.h"
#include "platform/bubsyswsg.h"
#include "platform/pet.h"
#include "platform/vic20.h"
#include "platform/dummy.h"
#include "../ta-log.h"
#include "song.h"
@ -279,6 +280,9 @@ void DivDispatchContainer::init(DivSystem sys, DivEngine* eng, int chanCount, do
case DIV_SYSTEM_PET:
dispatch=new DivPlatformPET;
break;
case DIV_SYSTEM_VIC20:
dispatch=new DivPlatformVIC20;
break;
default:
logW("this system is not supported yet! using dummy platform.\n");
dispatch=new DivPlatformDummy;