| 1195 | } |
| 1196 | |
| 1197 | void FCEUSND_Power(void) |
| 1198 | { |
| 1199 | int x; |
| 1200 | |
| 1201 | SetNESSoundMap(); |
| 1202 | memset(PSG,0x00,sizeof(PSG)); |
| 1203 | FCEUSND_Reset(); |
| 1204 | |
| 1205 | memset(Wave,0,sizeof(Wave)); |
| 1206 | memset(WaveHi,0,sizeof(WaveHi)); |
| 1207 | memset(&EnvUnits,0,sizeof(EnvUnits)); |
| 1208 | |
| 1209 | for(x=0;x<5;x++) |
| 1210 | ChannelBC[x]=0; |
| 1211 | soundtsoffs=0; |
| 1212 | LoadDMCPeriod(DMCFormat&0xF); |
| 1213 | } |
| 1214 | |
| 1215 | |
| 1216 | void SetSoundVariables(void) |
no test coverage detected