Amiga: better emulation, part 5
This commit is contained in:
parent
452846936f
commit
8fc6a71882
|
@ -107,9 +107,6 @@ void DivPlatformAmiga::acquire(short** buf, size_t len) {
|
|||
amiga.audDat[0][i]=sampleMem[(amiga.dmaLoc[i])&chipMask];
|
||||
amiga.audDat[1][i]=sampleMem[(amiga.dmaLoc[i]+1)&chipMask];
|
||||
amiga.incLoc[i]=true;
|
||||
} else {
|
||||
amiga.audDat[0][i]=0;
|
||||
amiga.audDat[1][i]=0;
|
||||
}
|
||||
|
||||
amiga.audWord[i]=!amiga.audWord[i];
|
||||
|
|
|
@ -96,6 +96,7 @@ class DivPlatformAmiga: public DivDispatch {
|
|||
bool incLoc[4]; // whether dmaLoc/dmaLen should be updated
|
||||
unsigned char volPos; // position of volume PWM
|
||||
unsigned short hPos; // horizontal position of beam
|
||||
unsigned char state[4]; // current channel state
|
||||
|
||||
Amiga() {
|
||||
memset(this,0,sizeof(*this));
|
||||
|
|
Loading…
Reference in New Issue