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

Function M29Sync

src/boards/datalatch.cpp:248–253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246//------------------ Map 29 --------------------------- //Used by Glider, http://www.retrousb.com/product_info.php?cPath=30&products_id=58
247
248static void M29Sync() {
249 setprg16(0x8000, (latche & 0x1C) >> 2);
250 setprg16(0xc000, ~0);
251 setchr8r(0, latche & 3);
252 setprg8r(0x10, 0x6000, 0);
253}
254
255void Mapper29_Init(CartInfo *info) {
256 Latch_Init(info, M29Sync, 0, 0x8000, 0xFFFF, 1, 0);

Callers

nothing calls this directly

Calls 3

setprg16Function · 0.85
setchr8rFunction · 0.85
setprg8rFunction · 0.85

Tested by

no test coverage detected