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

Function FDSSoundStateAdd

src/fds.cpp:365–378  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

363#define speedo fdso.speedo
364
365void FDSSoundStateAdd(void) {
366 AddExState(fdso.cwave, 64, 0, "WAVE");
367 AddExState(fdso.mwave, 32, 0, "MWAV");
368 AddExState(amplitude, 2, 0, "AMPL");
369 AddExState(SPSG, 0xB, 0, "SPSG");
370
371 AddExState(&b8shiftreg88, 1, 0, "B88");
372
373 AddExState(&clockcount, 4, 1, "CLOC");
374 AddExState(&b19shiftreg60, 4, 1, "B60");
375 AddExState(&b24adder66, 4, 1, "B66");
376 AddExState(&b24latch68, 4, 1, "B68");
377 AddExState(&b17latch76, 4, 1, "B76");
378}
379
380static DECLFR(FDSSRead) {
381 switch (A & 0xF) {

Callers 1

FDSLoadFunction · 0.85

Calls 1

AddExStateFunction · 0.85

Tested by

no test coverage detected