games/snes: use enum constants KON and ENDX instead of their values
This commit is contained in:
parent
03eeebb97f
commit
8aff377698
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue