better CDL for RAM based FDS system (writes to the RAM discards the logged bits to allow to log different loaded files separately)
This commit is contained in:
parent
7bd1d6c2e8
commit
b10b6254c3
|
@ -500,17 +500,18 @@ void LogCDData(uint8 *opcode, uint16 A, int size) {
|
|||
datacount++;
|
||||
if (!(cdloggerdata[j] & 1))undefinedcount--;
|
||||
}
|
||||
} /* else {
|
||||
} else {
|
||||
if (cdloggerdata[j] & 1) {
|
||||
codecount--;
|
||||
cdloggerdata[j] &= 0xFE;
|
||||
if (!(cdloggerdata[j] & 2))undefinedcount--;
|
||||
}
|
||||
if (cdloggerdata[j] & 2) {
|
||||
datacount--;
|
||||
if (!(cdloggerdata[j] & 1))undefinedcount--;
|
||||
cdloggerdata[j] &= 0xFD;
|
||||
if (!(cdloggerdata[j] & 1)) undefinedcount--;
|
||||
}
|
||||
cdloggerdata[j] = 0;
|
||||
} */
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue