|
|
| version 1.8, 2004/03/29 14:19:25 | version 1.9, 2005/02/07 14:46:12 |
|---|---|
| Line 174 void cs4231_control(UINT index, REG8 dat | Line 174 void cs4231_control(UINT index, REG8 dat |
| UINT8 modify; | UINT8 modify; |
| DMACH dmach; | DMACH dmach; |
| modify = ((BYTE *)&cs4231.reg)[index] ^ dat; | modify = ((UINT8 *)&cs4231.reg)[index] ^ dat; |
| ((BYTE *)&cs4231.reg)[index] = dat; | ((UINT8 *)&cs4231.reg)[index] = dat; |
| switch(index) { | switch(index) { |
| case CS4231REG_PLAYFMT: | case CS4231REG_PLAYFMT: |
| if (modify & 0xf0) { | if (modify & 0xf0) { |