another uninitialized variable
This commit is contained in:
parent
48f4f5835b
commit
726b457ae7
12 changed files with 15 additions and 2 deletions
|
|
@ -476,6 +476,7 @@ void DivPlatformArcade::setYMFM(bool use) {
|
|||
|
||||
int DivPlatformArcade::init(DivEngine* p, int channels, int sugRate, bool pal) {
|
||||
parent=p;
|
||||
skipRegisterWrites=false;
|
||||
for (int i=0; i<13; i++) {
|
||||
isMuted[i]=false;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -326,6 +326,7 @@ void DivPlatformC64::setPAL(bool pal) {
|
|||
|
||||
int DivPlatformC64::init(DivEngine* p, int channels, int sugRate, bool pal) {
|
||||
parent=p;
|
||||
skipRegisterWrites=false;
|
||||
for (int i=0; i<3; i++) {
|
||||
isMuted[i]=false;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -74,6 +74,7 @@ void DivPlatformDummy::reset() {
|
|||
|
||||
int DivPlatformDummy::init(DivEngine* p, int channels, int sugRate, bool pal) {
|
||||
parent=p;
|
||||
skipRegisterWrites=false;
|
||||
for (int i=0; i<17; i++) {
|
||||
isMuted[i]=false;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -317,6 +317,7 @@ int DivPlatformGB::init(DivEngine* p, int channels, int sugRate, bool pal) {
|
|||
isMuted[i]=false;
|
||||
}
|
||||
parent=p;
|
||||
skipRegisterWrites=false;
|
||||
rate=262144;
|
||||
gb=new GB_gameboy_t;
|
||||
reset();
|
||||
|
|
|
|||
|
|
@ -432,6 +432,7 @@ void DivPlatformGenesis::setPAL(bool pal) {
|
|||
|
||||
int DivPlatformGenesis::init(DivEngine* p, int channels, int sugRate, bool pal) {
|
||||
parent=p;
|
||||
skipRegisterWrites=false;
|
||||
for (int i=0; i<10; i++) {
|
||||
isMuted[i]=false;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -327,6 +327,7 @@ void DivPlatformNES::setPAL(bool pal) {
|
|||
|
||||
int DivPlatformNES::init(DivEngine* p, int channels, int sugRate, bool pal) {
|
||||
parent=p;
|
||||
skipRegisterWrites=false;
|
||||
for (int i=0; i<5; i++) {
|
||||
isMuted[i]=false;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -37,7 +37,6 @@ class DivPlatformNES: public DivDispatch {
|
|||
unsigned int dacPos;
|
||||
int dacSample;
|
||||
unsigned char sampleBank;
|
||||
unsigned char lastPan;
|
||||
|
||||
float freqBase;
|
||||
|
||||
|
|
|
|||
|
|
@ -318,6 +318,7 @@ void DivPlatformPCE::setPAL(bool pal) {
|
|||
|
||||
int DivPlatformPCE::init(DivEngine* p, int channels, int sugRate, bool pal) {
|
||||
parent=p;
|
||||
skipRegisterWrites=false;
|
||||
for (int i=0; i<6; i++) {
|
||||
isMuted[i]=false;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -187,6 +187,7 @@ void DivPlatformSMS::setPAL(bool pal) {
|
|||
|
||||
int DivPlatformSMS::init(DivEngine* p, int channels, int sugRate, bool pal) {
|
||||
parent=p;
|
||||
skipRegisterWrites=false;
|
||||
for (int i=0; i<4; i++) {
|
||||
isMuted[i]=false;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -565,6 +565,7 @@ bool DivPlatformYM2610::keyOffAffectsArp(int ch) {
|
|||
|
||||
int DivPlatformYM2610::init(DivEngine* p, int channels, int sugRate, bool pal) {
|
||||
parent=p;
|
||||
skipRegisterWrites=false;
|
||||
for (int i=0; i<13; i++) {
|
||||
isMuted[i]=false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue