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

Function gui_drawpixel_fast

src/lua-engine.cpp:3557–3560  ·  view source on GitHub ↗

write a pixel to gui_data (do not check boundaries for speedup)

Source from the content-addressed store, hash-verified

3555
3556// write a pixel to gui_data (do not check boundaries for speedup)
3557static inline void gui_drawpixel_fast(int x, int y, uint32 colour) {
3558 //gui_prepare();
3559 blend32((uint32*) &gui_data[(y*LUA_SCREEN_WIDTH+x)*4], colour);
3560}
3561
3562// write a pixel to gui_data (check boundaries)
3563static inline void gui_drawpixel_internal(int x, int y, uint32 colour) {

Callers 3

gui_drawpixel_internalFunction · 0.85
gui_fillbox_internalFunction · 0.85
gui_gdoverlayFunction · 0.85

Calls 1

blend32Function · 0.85

Tested by

no test coverage detected