mirror of https://github.com/LIJI32/SameBoy.git
Updated GB_set_palette and GB_get_palette (markdown)
parent
9b002f18f5
commit
dc31336674
|
@ -8,7 +8,7 @@ In `display.h`
|
|||
|
||||
## Description
|
||||
|
||||
A monochrome [[model|GB_model_t]] renders a screen with 4 colors (usually shades of grey), and potentially a different 5th color used when the LCD display is turned off. These 5 colors are stored in a [[palette struct|GB_palette_t]]. The palette can be changed and read back using these two functions. The default palette is [[GB_PALETTE_GREY|Built In DMG Palettes]].
|
||||
A monochrome [[model|GB_model_t]] renders a screen with 4 colors (usually shades of grey), and potentially a different 5th color used when the LCD display is turned off. These 5 colors are stored in a [[palette struct|GB_palette_t]]. The palette can be changed and read back using these two functions. The default palette is [[GB_PALETTE_GREY|Built‐In DMG Palettes]].
|
||||
|
||||
## Thread Safety
|
||||
|
||||
|
@ -21,6 +21,6 @@ This value is only used when emulating monochrome models.
|
|||
## See Also
|
||||
|
||||
* [[GB_palette_t]]
|
||||
* [[Built In DMG Palettes]]
|
||||
* [[Built‐In DMG Palettes]]
|
||||
* [[GB_set_rgb_encode_callback]]
|
||||
* [[GB_set_color_correction_mode]]
|
Loading…
Reference in New Issue