Fix for C4805: '|': unsafe mix of type 'unsigned char' and type 'bool' in operation

This commit is contained in:
OPNA2608 2022-03-31 20:46:27 +02:00
parent 82d893082c
commit 4c19a973ef
6 changed files with 14 additions and 14 deletions

View file

@ -123,7 +123,7 @@ void DivPlatformAY8930::acquire(short* bufL, short* bufR, size_t start, size_t l
}
while (!writes.empty()) {
QueuedWrite w=writes.front();
if (bank!=(w.addr>>4)) {
if ((int)bank!=(w.addr>>4)) {
bank=w.addr>>4;
ay->address_w(0x0d);
ay->data_w(0xa0|(bank<<4)|ayEnvMode[0]);