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

@ -620,7 +620,7 @@ int DivPlatformOPLL::dispatch(DivCommand c) {
}
case DIV_CMD_FM_EXTCH:
if (!properDrumsSys) break;
if (properDrums==c.value) break;
if ((int)properDrums==c.value) break;
if (c.value) {
properDrums=true;
immWrite(0x0e,0x20);