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

Function MMC1MIRROR

src/boards/fns.cpp:77–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77static void MMC1MIRROR(void) {
78 switch (DRegs[0] & 3) {
79 case 2: setmirror(MI_V); break;
80 case 3: setmirror(MI_H); break;
81 case 0: setmirror(MI_0); break;
82 case 1: setmirror(MI_1); break;
83 }
84}
85
86static uint64 lreset;
87static DECLFW(MMC1_write) {

Callers 3

DECLFWFunction · 0.70
MMC1_RestoreFunction · 0.70
MMC1CMResetFunction · 0.70

Calls 1

setmirrorFunction · 0.85

Tested by

no test coverage detected