mirror of
https://github.com/tildearrow/furnace.git
synced 2025-01-01 04:21:44 +00:00
parent
f86838df99
commit
bf19feab89
1 changed files with 3 additions and 0 deletions
|
@ -375,9 +375,11 @@ void DivPlatformNES::setPAL(bool pal) {
|
||||||
if (pal) {
|
if (pal) {
|
||||||
rate=1662607;
|
rate=1662607;
|
||||||
freqBase=FREQ_BASE_PAL;
|
freqBase=FREQ_BASE_PAL;
|
||||||
|
nes->apu.type=1;
|
||||||
} else {
|
} else {
|
||||||
rate=1789773;
|
rate=1789773;
|
||||||
freqBase=FREQ_BASE;
|
freqBase=FREQ_BASE;
|
||||||
|
nes->apu.type=0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -395,6 +397,7 @@ int DivPlatformNES::init(DivEngine* p, int channels, int sugRate, bool pal) {
|
||||||
isMuted[i]=false;
|
isMuted[i]=false;
|
||||||
}
|
}
|
||||||
nes=new struct NESAPU;
|
nes=new struct NESAPU;
|
||||||
|
setPAL(pal);
|
||||||
|
|
||||||
init_nla_table(500,500);
|
init_nla_table(500,500);
|
||||||
reset();
|
reset();
|
||||||
|
|
Loading…
Reference in a new issue