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

Function FixJoedChar

src/lua-engine.cpp:4554–4558  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4552};
4553
4554static int FixJoedChar(uint8 ch)
4555{
4556 int c = ch; c -= 32;
4557 return (c < 0 || c > 98) ? 0 : c;
4558}
4559static int JoedCharWidth(uint8 ch)
4560{
4561 return FCEUFont[FixJoedChar(ch)*8];

Callers 2

JoedCharWidthFunction · 0.70
LuaDrawTextTransWHFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected