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

Function memory_readbyte

src/lua-engine.cpp:1544–1547  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1542}
1543
1544static int memory_readbyte(lua_State *L) {
1545 lua_pushinteger(L, GetMem(luaL_checkinteger(L,1)));
1546 return 1;
1547}
1548
1549static int memory_readbytesigned(lua_State *L) {
1550 signed char c = (signed char) GetMem(luaL_checkinteger(L,1));

Callers

nothing calls this directly

Calls 3

lua_pushintegerFunction · 0.85
GetMemFunction · 0.85
luaL_checkintegerFunction · 0.85

Tested by

no test coverage detected