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

Function PrepDPCM

src/sound.cpp:165–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163}
164
165static void PrepDPCM()
166{
167 DMCAddress=0x4000+(DMCAddressLatch<<6);
168 DMCSize=(DMCSizeLatch<<4)+1;
169
170 #ifdef WIN32
171 if(debug_loggingCD)LogDPCM(0x8000+DMCAddress, DMCSize);
172 #endif
173
174}
175
176void LogDPCM(int romaddress, int dpcmsize){
177 int i = GetPRGAddress(romaddress);

Callers 2

DECLFWFunction · 0.85
DMCDMAFunction · 0.85

Calls 1

LogDPCMFunction · 0.85

Tested by

no test coverage detected