Fix compile

This commit is contained in:
cam900 2023-04-11 12:50:24 +09:00
parent f13cea6a8e
commit cb34054473

View file

@ -138,7 +138,7 @@ void d65010g031_write(struct d65010g031_t *d65010g031, const unsigned char a, co
d65010g031->ctrl = d;
break;
default:
const unsigned char period = ~d & 0x3f;
unsigned char period = ~d & 0x3f;
if ((period == 0) && (d65010g031->square[a].period != 0))
{
d65010g031->square[a].out ^= 1;