Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TASEmulators/fceux
/ Round
Function
Round
src/drivers/common/vidblit.cpp:76–79 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
74
bool paldeemphswap = 0;
75
76
static int Round(float value)
77
{
78
return (int) floor(value + 0.5);
79
}
80
81
static int PAL_LUT(uint32 *buffer, int index, int x, int y)
82
{
Callers
1
Blit8ToHigh
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected