Merge pull request #243 from cam900/gui_systems
Add various system, Minor corrections
This commit is contained in:
commit
bbca8b260b
2 changed files with 131 additions and 8 deletions
|
|
@ -509,10 +509,17 @@ void DivPlatformC64::setChipModel(bool is6581) {
|
|||
}
|
||||
|
||||
void DivPlatformC64::setFlags(unsigned int flags) {
|
||||
if (flags&1) {
|
||||
rate=COLOR_PAL*2.0/9.0;
|
||||
} else {
|
||||
rate=COLOR_NTSC*2.0/7.0;
|
||||
switch (flags&0xf) {
|
||||
case 0x0: // NTSC C64
|
||||
rate=COLOR_NTSC*2.0/7.0;
|
||||
break;
|
||||
case 0x1: // PAL C64
|
||||
rate=COLOR_PAL*2.0/9.0;
|
||||
break;
|
||||
case 0x2: // SSI 2001
|
||||
default:
|
||||
rate=14318180.0/16.0;
|
||||
break;
|
||||
}
|
||||
chipClock=rate;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue