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

Function MooMirroring

src/unif.cpp:113–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111static uint8 exntar[2048];
112
113static void MooMirroring(void) {
114 if (mirrortodo < 0x4)
115 SetupCartMirroring(mirrortodo, 1, 0);
116 else if (mirrortodo == 0x4) {
117 FCEU_MemoryRand(exntar, sizeof(exntar), true);
118 SetupCartMirroring(4, 1, exntar);
119 AddExState(exntar, 2048, 0, "EXNR");
120 } else
121 SetupCartMirroring(0, 0, 0);
122}
123
124static int DoMirroring(FCEUFILE *fp) {
125 int t;

Callers 1

InitializeBoardFunction · 0.85

Calls 3

SetupCartMirroringFunction · 0.85
FCEU_MemoryRandFunction · 0.85
AddExStateFunction · 0.85

Tested by

no test coverage detected