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

Function SetNESSoundMap

src/sound.cpp:1026–1034  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1024}
1025
1026void SetNESSoundMap(void)
1027{
1028 SetWriteHandler(0x4000,0x400F,Write_PSG);
1029 SetWriteHandler(0x4010,0x4013,Write_DMCRegs);
1030 SetWriteHandler(0x4017,0x4017,Write_IRQFM);
1031
1032 SetWriteHandler(0x4015,0x4015,StatusWrite);
1033 SetReadHandler(0x4015,0x4015,StatusRead);
1034}
1035
1036static int32 inbuf=0;
1037int FlushEmulateSound(void)

Callers 1

FCEUSND_PowerFunction · 0.85

Calls 2

SetWriteHandlerFunction · 0.85
SetReadHandlerFunction · 0.85

Tested by

no test coverage detected