Commit 8438097d authored by a1ex's avatar a1ex
Browse files

5D3-123: another workaround for uninitialized LV VRAM (this one makes Arkanoid playable again :P )

--HG--
branch : 5D3-123
parent fadde9f5bd06
......@@ -2658,6 +2658,21 @@ static void grayscale_menus_step()
prev_sig = sig;
#ifdef CONFIG_5D3
if (get_yuv422_vram()->vram == 0)
{
/* 5D3-123 quirk: YUV422 RAM is not initialized until going to LiveView or Playback mode
* (and even there, you need a valid image first)
* Workaround: if YUV422 was not yet initialized by Canon, remove the transparency from color 0 (make it black).
*
* Any other cameras requiring this? Probably not, since the quirk is likely related to the dual monitor support.
*
* Note: alter_bitmap_palette will not affect color 0, so it will not break this workaround (yet).
*/
alter_bitmap_palette_entry(0, COLOR_BLACK, 256, 256);
}
#endif
if (bmp_color_scheme || prev_b)
{
//~ info_led_on();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment