Fix compile
This commit is contained in:
parent
f13cea6a8e
commit
cb34054473
|
|
@ -138,7 +138,7 @@ void d65010g031_write(struct d65010g031_t *d65010g031, const unsigned char a, co
|
||||||
d65010g031->ctrl = d;
|
d65010g031->ctrl = d;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
const unsigned char period = ~d & 0x3f;
|
unsigned char period = ~d & 0x3f;
|
||||||
if ((period == 0) && (d65010g031->square[a].period != 0))
|
if ((period == 0) && (d65010g031->square[a].period != 0))
|
||||||
{
|
{
|
||||||
d65010g031->square[a].out ^= 1;
|
d65010g031->square[a].out ^= 1;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue