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

Function RdRAM

src/x6502.cpp:67–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67static INLINE uint8 RdRAM(unsigned int A)
68{
69 _DB=ARead[A](A);
70 #ifdef _S9XLUA_H
71 CallRegisteredLuaMemHook(A, 1, _DB, LUAMEMHOOK_READ);
72 #endif
73 //bbit edited: this was changed so cheat substituion would work
74 // return(_DB=RAM[A]);
75 return(_DB);
76}
77
78static INLINE void WrRAM(unsigned int A, uint8 V)
79{

Callers

nothing calls this directly

Calls 1

CallRegisteredLuaMemHookFunction · 0.85

Tested by

no test coverage detected