add PAL flag to dispatch

now platforms run at their correct clock speed when in PAL mode

also fix clipping in Genesis
This commit is contained in:
tildearrow 2021-12-08 01:56:40 -05:00
parent fe5f8afa05
commit 6a02754996
19 changed files with 69 additions and 36 deletions

View file

@ -274,7 +274,7 @@ bool DivPlatformGB::isStereo() {
return true;
}
int DivPlatformGB::init(DivEngine* p, int channels, int sugRate) {
int DivPlatformGB::init(DivEngine* p, int channels, int sugRate, bool pal) {
parent=p;
rate=262144;
gb=new GB_gameboy_t;