games/snes: use enum constants KON and ENDX instead of their values
This commit is contained in:
parent
03eeebb97f
commit
8aff377698
|
@ -120,10 +120,10 @@ dspwrite(u8int p, u8int v)
|
||||||
if(p >= 0x80)
|
if(p >= 0x80)
|
||||||
return;
|
return;
|
||||||
switch(p){
|
switch(p){
|
||||||
case 0x4c:
|
case KON:
|
||||||
dsp[NEWKON] = v;
|
dsp[NEWKON] = v;
|
||||||
break;
|
break;
|
||||||
case 0x7c:
|
case ENDX:
|
||||||
v = 0;
|
v = 0;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue