swan let's go

Add WonderSwan support and flatten second chip checks in VGM export into variables
This commit is contained in:
tildearrow 2022-03-07 23:05:32 -05:00 committed by GitHub
commit 0210548291
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 1317 additions and 77 deletions

View file

@ -41,6 +41,7 @@
#include "platform/pcspkr.h"
#include "platform/segapcm.h"
#include "platform/qsound.h"
#include "platform/swan.h"
#include "platform/dummy.h"
#include "platform/lynx.h"
#include "../ta-log.h"
@ -255,6 +256,9 @@ void DivDispatchContainer::init(DivSystem sys, DivEngine* eng, int chanCount, do
case DIV_SYSTEM_SEGAPCM_COMPAT:
dispatch=new DivPlatformSegaPCM;
break;
case DIV_SYSTEM_SWAN:
dispatch=new DivPlatformSwan;
break;
default:
logW("this system is not supported yet! using dummy platform.\n");
dispatch=new DivPlatformDummy;