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:
parent
fe5f8afa05
commit
6a02754996
19 changed files with 69 additions and 36 deletions
|
|
@ -287,9 +287,13 @@ void DivPlatformC64::setChipModel(bool is6581) {
|
|||
}
|
||||
}
|
||||
|
||||
int DivPlatformC64::init(DivEngine* p, int channels, int sugRate) {
|
||||
int DivPlatformC64::init(DivEngine* p, int channels, int sugRate, bool pal) {
|
||||
parent=p;
|
||||
rate=985248;
|
||||
if (pal) {
|
||||
rate=985248;
|
||||
} else {
|
||||
rate=1022727;
|
||||
}
|
||||
|
||||
sid.reset();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue