FDS: set a post-amp value

This commit is contained in:
tildearrow 2022-05-26 18:07:59 -05:00
parent a52f71ba32
commit 6d441c2ffd
2 changed files with 5 additions and 0 deletions

View File

@ -498,6 +498,10 @@ void DivPlatformFDS::notifyInsDeletion(void* ins) {
}
}
float DivPlatformFDS::getPostAmp() {
return useNP?1.8f:1.0f;
}
void DivPlatformFDS::poke(unsigned int addr, unsigned short val) {
rWrite(addr,val);
}

View File

@ -99,6 +99,7 @@ class DivPlatformFDS: public DivDispatch {
void setNSFPlay(bool use);
void setFlags(unsigned int flags);
void notifyInsDeletion(void* ins);
float getPostAmp();
void poke(unsigned int addr, unsigned short val);
void poke(std::vector<DivRegWrite>& wlist);
const char** getRegisterSheet();