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

Function rom_readbyte

src/lua-engine.cpp:1505–1508  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1503}
1504
1505static int rom_readbyte(lua_State *L) {
1506 lua_pushinteger(L, FCEU_ReadRomByte(luaL_checkinteger(L,1)));
1507 return 1;
1508}
1509
1510static int rom_readbytesigned(lua_State *L) {
1511 lua_pushinteger(L, (signed char)FCEU_ReadRomByte(luaL_checkinteger(L,1)));

Callers

nothing calls this directly

Calls 3

lua_pushintegerFunction · 0.85
FCEU_ReadRomByteFunction · 0.85
luaL_checkintegerFunction · 0.85

Tested by

no test coverage detected