and here's your ZX beeper

no real hardware yet
specs of this dispatch may change at any time to fit a driver
This commit is contained in:
tildearrow 2022-05-14 00:22:23 -05:00
parent 0a0ddfa661
commit 895765b68a
7 changed files with 453 additions and 3 deletions

View file

@ -59,6 +59,7 @@
#include "platform/scc.h"
#include "platform/dummy.h"
#include "../ta-log.h"
#include "platform/zxbeeper.h"
#include "song.h"
void DivDispatchContainer::setRates(double gotRate) {
@ -294,6 +295,9 @@ void DivDispatchContainer::init(DivSystem sys, DivEngine* eng, int chanCount, do
case DIV_SYSTEM_PCSPKR:
dispatch=new DivPlatformPCSpeaker;
break;
case DIV_SYSTEM_SFX_BEEPER:
dispatch=new DivPlatformZXBeeper;
break;
case DIV_SYSTEM_LYNX:
dispatch=new DivPlatformLynx;
break;