MCPcopy Create free account
hub / github.com/TASEmulators/fceux / FCEUSND_Power

Function FCEUSND_Power

src/sound.cpp:1197–1213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1195}
1196
1197void 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
1216void SetSoundVariables(void)

Callers 1

PowerNESFunction · 0.85

Calls 3

SetNESSoundMapFunction · 0.85
FCEUSND_ResetFunction · 0.85
LoadDMCPeriodFunction · 0.85

Tested by

no test coverage detected