PCE: remove core quality
This commit is contained in:
parent
4c166b9b5a
commit
7a6f6a6745
|
|
@ -315,11 +315,6 @@ void DivDispatchContainer::init(DivSystem sys, DivEngine* eng, int chanCount, do
|
|||
break;
|
||||
case DIV_SYSTEM_PCE:
|
||||
dispatch=new DivPlatformPCE;
|
||||
if (isRender) {
|
||||
((DivPlatformPCE*)dispatch)->setCoreQuality(eng->getConfInt("pceQualityRender",3));
|
||||
} else {
|
||||
((DivPlatformPCE*)dispatch)->setCoreQuality(eng->getConfInt("pceQuality",3));
|
||||
}
|
||||
break;
|
||||
case DIV_SYSTEM_NES:
|
||||
dispatch=new DivPlatformNES;
|
||||
|
|
|
|||
|
|
@ -699,32 +699,6 @@ void DivPlatformPCE::poke(std::vector<DivRegWrite>& wlist) {
|
|||
for (DivRegWrite& i: wlist) rWrite(i.addr,i.val);
|
||||
}
|
||||
|
||||
void DivPlatformPCE::setCoreQuality(unsigned char q) {
|
||||
switch (q) {
|
||||
case 0:
|
||||
coreQuality=192;
|
||||
break;
|
||||
case 1:
|
||||
coreQuality=96;
|
||||
break;
|
||||
case 2:
|
||||
coreQuality=48;
|
||||
break;
|
||||
case 3:
|
||||
coreQuality=24;
|
||||
break;
|
||||
case 4:
|
||||
coreQuality=6;
|
||||
break;
|
||||
case 5:
|
||||
coreQuality=2;
|
||||
break;
|
||||
default:
|
||||
coreQuality=24;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
int DivPlatformPCE::init(DivEngine* p, int channels, int sugRate, const DivConfig& flags) {
|
||||
parent=p;
|
||||
dumpWrites=false;
|
||||
|
|
|
|||
|
|
@ -71,7 +71,6 @@ class DivPlatformPCE: public DivDispatch {
|
|||
|
||||
int curChan;
|
||||
unsigned char sampleBank, lfoMode, lfoSpeed;
|
||||
int coreQuality;
|
||||
PCE_PSG* pce;
|
||||
unsigned char regPool[128];
|
||||
void updateWave(int ch);
|
||||
|
|
@ -99,7 +98,6 @@ class DivPlatformPCE: public DivDispatch {
|
|||
int getOutputCount();
|
||||
bool keyOffAffectsArp(int ch);
|
||||
bool hasAcquireDirect();
|
||||
void setCoreQuality(unsigned char q);
|
||||
void setFlags(const DivConfig& flags);
|
||||
void notifyWaveChange(int wave);
|
||||
void notifyInsDeletion(void* ins);
|
||||
|
|
|
|||
|
|
@ -1799,7 +1799,6 @@ class FurnaceGUI {
|
|||
int dsidQuality;
|
||||
int gbQuality;
|
||||
int ndsQuality;
|
||||
int pceQuality;
|
||||
int pnQuality;
|
||||
int saaQuality;
|
||||
int sccQuality;
|
||||
|
|
@ -1826,7 +1825,6 @@ class FurnaceGUI {
|
|||
int dsidQualityRender;
|
||||
int gbQualityRender;
|
||||
int ndsQualityRender;
|
||||
int pceQualityRender;
|
||||
int pnQualityRender;
|
||||
int saaQualityRender;
|
||||
int sccQualityRender;
|
||||
|
|
@ -2064,7 +2062,6 @@ class FurnaceGUI {
|
|||
dsidQuality(3),
|
||||
gbQuality(3),
|
||||
ndsQuality(3),
|
||||
pceQuality(3),
|
||||
pnQuality(3),
|
||||
saaQuality(3),
|
||||
sccQuality(3),
|
||||
|
|
@ -2091,7 +2088,6 @@ class FurnaceGUI {
|
|||
dsidQualityRender(3),
|
||||
gbQualityRender(3),
|
||||
ndsQualityRender(3),
|
||||
pceQualityRender(3),
|
||||
pnQualityRender(3),
|
||||
saaQualityRender(3),
|
||||
sccQualityRender(3),
|
||||
|
|
|
|||
|
|
@ -2123,7 +2123,6 @@ void FurnaceGUI::drawSettings() {
|
|||
CORE_QUALITY("Bubble System WSG",bubsysQuality,bubsysQualityRender);
|
||||
CORE_QUALITY("Game Boy",gbQuality,gbQualityRender);
|
||||
CORE_QUALITY("Nintendo DS",ndsQuality,ndsQualityRender);
|
||||
CORE_QUALITY("PC Engine",pceQuality,pceQualityRender);
|
||||
CORE_QUALITY("PowerNoise",pnQuality,pnQualityRender);
|
||||
CORE_QUALITY("SAA1099",saaQuality,saaQualityRender);
|
||||
CORE_QUALITY("SCC",sccQuality,sccQualityRender);
|
||||
|
|
@ -5135,7 +5134,6 @@ void FurnaceGUI::readConfig(DivConfig& conf, FurnaceGUISettingGroups groups) {
|
|||
settings.dsidQuality=conf.getInt("dsidQuality",3);
|
||||
settings.gbQuality=conf.getInt("gbQuality",3);
|
||||
settings.ndsQuality=conf.getInt("ndsQuality",3);
|
||||
settings.pceQuality=conf.getInt("pceQuality",3);
|
||||
settings.pnQuality=conf.getInt("pnQuality",3);
|
||||
settings.saaQuality=conf.getInt("saaQuality",3);
|
||||
settings.sccQuality=conf.getInt("sccQuality",3);
|
||||
|
|
@ -5164,7 +5162,6 @@ void FurnaceGUI::readConfig(DivConfig& conf, FurnaceGUISettingGroups groups) {
|
|||
settings.dsidQualityRender=conf.getInt("dsidQualityRender",3);
|
||||
settings.gbQualityRender=conf.getInt("gbQualityRender",3);
|
||||
settings.ndsQualityRender=conf.getInt("ndsQualityRender",3);
|
||||
settings.pceQualityRender=conf.getInt("pceQualityRender",3);
|
||||
settings.pnQualityRender=conf.getInt("pnQualityRender",3);
|
||||
settings.saaQualityRender=conf.getInt("saaQualityRender",3);
|
||||
settings.sccQualityRender=conf.getInt("sccQualityRender",3);
|
||||
|
|
@ -5209,7 +5206,6 @@ void FurnaceGUI::readConfig(DivConfig& conf, FurnaceGUISettingGroups groups) {
|
|||
clampSetting(settings.dsidQuality,0,5);
|
||||
clampSetting(settings.gbQuality,0,5);
|
||||
clampSetting(settings.ndsQuality,0,5);
|
||||
clampSetting(settings.pceQuality,0,5);
|
||||
clampSetting(settings.pnQuality,0,5);
|
||||
clampSetting(settings.saaQuality,0,5);
|
||||
clampSetting(settings.sccQuality,0,5);
|
||||
|
|
@ -5236,7 +5232,6 @@ void FurnaceGUI::readConfig(DivConfig& conf, FurnaceGUISettingGroups groups) {
|
|||
clampSetting(settings.dsidQualityRender,0,5);
|
||||
clampSetting(settings.gbQualityRender,0,5);
|
||||
clampSetting(settings.ndsQualityRender,0,5);
|
||||
clampSetting(settings.pceQualityRender,0,5);
|
||||
clampSetting(settings.pnQualityRender,0,5);
|
||||
clampSetting(settings.saaQualityRender,0,5);
|
||||
clampSetting(settings.sccQualityRender,0,5);
|
||||
|
|
@ -5737,7 +5732,6 @@ void FurnaceGUI::writeConfig(DivConfig& conf, FurnaceGUISettingGroups groups) {
|
|||
conf.set("dsidQuality",settings.dsidQuality);
|
||||
conf.set("gbQuality",settings.gbQuality);
|
||||
conf.set("ndsQuality",settings.ndsQuality);
|
||||
conf.set("pceQuality",settings.pceQuality);
|
||||
conf.set("pnQuality",settings.pnQuality);
|
||||
conf.set("saaQuality",settings.saaQuality);
|
||||
conf.set("sccQuality",settings.sccQuality);
|
||||
|
|
@ -5766,7 +5760,6 @@ void FurnaceGUI::writeConfig(DivConfig& conf, FurnaceGUISettingGroups groups) {
|
|||
conf.set("dsidQualityRender",settings.dsidQualityRender);
|
||||
conf.set("gbQualityRender",settings.gbQualityRender);
|
||||
conf.set("ndsQualityRender",settings.ndsQualityRender);
|
||||
conf.set("pceQualityRender",settings.pceQualityRender);
|
||||
conf.set("pnQualityRender",settings.pnQualityRender);
|
||||
conf.set("saaQualityRender",settings.saaQualityRender);
|
||||
conf.set("sccQualityRender",settings.sccQualityRender);
|
||||
|
|
@ -5829,7 +5822,6 @@ void FurnaceGUI::commitSettings() {
|
|||
settings.dsidQuality!=e->getConfInt("dsidQuality",3) ||
|
||||
settings.gbQuality!=e->getConfInt("gbQuality",3) ||
|
||||
settings.ndsQuality!=e->getConfInt("ndsQuality",3) ||
|
||||
settings.pceQuality!=e->getConfInt("pceQuality",3) ||
|
||||
settings.pnQuality!=e->getConfInt("pnQuality",3) ||
|
||||
settings.saaQuality!=e->getConfInt("saaQuality",3) ||
|
||||
settings.sccQuality!=e->getConfInt("sccQuality",3) ||
|
||||
|
|
|
|||
Loading…
Reference in a new issue