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

Function FCEU_CheatAddRAM

src/cheat.cpp:52–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52void FCEU_CheatAddRAM(int s, uint32 A, uint8 *p)
53{
54 uint32 AB=A>>10;
55 int x;
56
57 for(x=s-1;x>=0;x--)
58 CheatRPtrs[AB+x]=p-A;
59}
60
61
62CHEATF_SUBFAST SubCheats[256];

Callers 15

PowerNESFunction · 0.85
M112PowerFunction · 0.85
M186PowerFunction · 0.85
UNLD2000PowerFunction · 0.85
MMC5WRAMFunction · 0.85
GenMMC5PowerFunction · 0.85
N106_PowerFunction · 0.85
COOLGIRL_PowerFunction · 0.85
M177PowerFunction · 0.85
FNS_PowerFunction · 0.85
M68PowerFunction · 0.85
M246PowerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected