MCPcopy Create free account
hub / github.com/AppleWin/AppleWin / getScanlineColor

Function getScanlineColor

source/NTSC.cpp:395–399  ·  view source on GitHub ↗

===========================================================================

Source from the content-addressed store, hash-verified

393
394//===========================================================================
395inline uint32_t getScanlineColor( const uint16_t signal, const bgra_t *pTable )
396{
397 g_nSignalBitsNTSC = ((g_nSignalBitsNTSC << 1) | signal) & 0xFFF; // 12-bit
398 return *(uint32_t*) &pTable[ g_nSignalBitsNTSC ];
399}
400
401//===========================================================================
402inline uint32_t* getScanlineNextInbetween()

Calls

no outgoing calls

Tested by

no test coverage detected