change setPAL to setFlags
This commit is contained in:
parent
8c353548f5
commit
bfed0b3209
35 changed files with 85 additions and 83 deletions
|
|
@ -254,15 +254,15 @@ void DivPlatformTIA::notifyInsDeletion(void* ins) {
|
|||
}
|
||||
}
|
||||
|
||||
void DivPlatformTIA::setPAL(bool pal) {
|
||||
if (pal) {
|
||||
void DivPlatformTIA::setFlags(unsigned int flags) {
|
||||
if (flags) {
|
||||
rate=31250;
|
||||
} else {
|
||||
rate=31400;
|
||||
}
|
||||
}
|
||||
|
||||
int DivPlatformTIA::init(DivEngine* p, int channels, int sugRate, bool pal) {
|
||||
int DivPlatformTIA::init(DivEngine* p, int channels, int sugRate, unsigned int flags) {
|
||||
parent=p;
|
||||
dumpWrites=false;
|
||||
skipRegisterWrites=false;
|
||||
|
|
@ -270,7 +270,7 @@ int DivPlatformTIA::init(DivEngine* p, int channels, int sugRate, bool pal) {
|
|||
isMuted[i]=false;
|
||||
}
|
||||
tia.channels(1,false);
|
||||
setPAL(pal);
|
||||
setFlags(flags);
|
||||
reset();
|
||||
return 2;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue