Email or username:

Password:

Forgot your password?
Top-level
Foone🏳️‍⚧️

oh that's cute. their set_palette function takes two arguments: a pointer to the palette, and a number of extra palettes to apply.

so they could set up an array of palettes in decreasing brightness, and just do set_palette(&fade_pallets[0], 64) to go through them.

but the same function is a regular one-time set_palette if you just pass 1 for the second argument.

1 comment
Foone🏳️‍⚧️ replied to Foone🏳️‍⚧️

"hey ghidra what calls set_palette?"

"I don't know! you're in 16bit segmented mode! pointers are MEANINGLESS

Go Up