GUI: rate change and new window title

This commit is contained in:
tildearrow 2021-12-15 17:32:08 -05:00
parent ebb28d912b
commit c54df74df1
19 changed files with 196 additions and 24 deletions

View file

@ -172,13 +172,17 @@ bool DivPlatformSMS::keyOffAffectsArp(int ch) {
return true;
}
int DivPlatformSMS::init(DivEngine* p, int channels, int sugRate, bool pal) {
parent=p;
void DivPlatformSMS::setPAL(bool pal) {
if (pal) {
rate=221681;
} else {
rate=223722;
}
}
int DivPlatformSMS::init(DivEngine* p, int channels, int sugRate, bool pal) {
parent=p;
setPAL(pal);
sn=new sn76496_device(rate);
reset();
return 4;