prepare for 5E01
This commit is contained in:
parent
cb2aeb649f
commit
3423ac8774
8 changed files with 46 additions and 5 deletions
|
|
@ -817,6 +817,10 @@ void DivPlatformNES::setNSFPlay(bool use) {
|
|||
useNP=use;
|
||||
}
|
||||
|
||||
void DivPlatformNES::set5E01(bool use) {
|
||||
isE=use;
|
||||
}
|
||||
|
||||
unsigned char DivPlatformNES::readDMC(unsigned short addr) {
|
||||
return dpcmMem[(addr&0x3fff)|((dpcmBank&15)<<14)];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -62,6 +62,7 @@ class DivPlatformNES: public DivDispatch {
|
|||
bool useNP;
|
||||
bool goingToLoop;
|
||||
bool countMode;
|
||||
bool isE;
|
||||
struct NESAPU* nes;
|
||||
xgm::NES_APU* nes1_NP;
|
||||
xgm::NES_DMC* nes2_NP;
|
||||
|
|
@ -93,6 +94,7 @@ class DivPlatformNES: public DivDispatch {
|
|||
float getPostAmp();
|
||||
unsigned char readDMC(unsigned short addr);
|
||||
void setNSFPlay(bool use);
|
||||
void set5E01(bool use);
|
||||
void setFlags(const DivConfig& flags);
|
||||
void notifyInsDeletion(void* ins);
|
||||
void poke(unsigned int addr, unsigned short val);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue