GUI: rate change and new window title
This commit is contained in:
parent
ebb28d912b
commit
c54df74df1
19 changed files with 196 additions and 24 deletions
|
|
@ -400,13 +400,17 @@ bool DivPlatformGenesis::keyOffAffectsArp(int ch) {
|
|||
return (ch>5);
|
||||
}
|
||||
|
||||
int DivPlatformGenesis::init(DivEngine* p, int channels, int sugRate, bool pal) {
|
||||
parent=p;
|
||||
void DivPlatformGenesis::setPAL(bool pal) {
|
||||
if (pal) {
|
||||
rate=211125;
|
||||
} else {
|
||||
rate=213068;
|
||||
}
|
||||
}
|
||||
|
||||
int DivPlatformGenesis::init(DivEngine* p, int channels, int sugRate, bool pal) {
|
||||
parent=p;
|
||||
setPAL(pal);
|
||||
// PSG
|
||||
psg.init(p,4,sugRate,pal);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue