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

Function ApplyDeemphasisComplete

src/palette.cpp:281–293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

279}
280
281static void ApplyDeemphasisComplete(pal* pal512)
282{
283 //for each deemph level beyond 0
284 for(int i=0,idx=0;i<8;i++)
285 {
286 //for each palette entry
287 for(int p=0;p<64;p++,idx++)
288 {
289 pal512[idx] = pal512[p];
290 ApplyDeemphasisBisqwit(idx,pal512[idx].r,pal512[idx].g,pal512[idx].b);
291 }
292 }
293}
294
295bool FCEUI_GetUserPaletteAvail( void )
296{

Callers 3

FCEUI_SetUserPaletteFunction · 0.85
FCEU_LoadGamePaletteFunction · 0.85
ChoosePaletteFunction · 0.85

Calls 1

ApplyDeemphasisBisqwitFunction · 0.85

Tested by

no test coverage detected