games/snes: use enum constants KON and ENDX instead of their values

This commit is contained in:
Michael Forney 2021-02-17 11:20:13 +01:00
parent 03eeebb97f
commit 8aff377698

View file

@ -120,10 +120,10 @@ dspwrite(u8int p, u8int v)
if(p >= 0x80)
return;
switch(p){
case 0x4c:
case KON:
dsp[NEWKON] = v;
break;
case 0x7c:
case ENDX:
v = 0;
break;
}