Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
magic-lantern
magic-lantern
Commits
03c5f4366259
Commit
8438097d
authored
Apr 22, 2014
by
a1ex
Browse files
5D3-123: another workaround for uninitialized LV VRAM (this one makes Arkanoid playable again :P )
--HG-- branch : 5D3-123
parent
fadde9f5bd06
Changes
1
Show whitespace changes
Inline
Side-by-side
src/tweaks.c
View file @
03c5f436
...
...
@@ -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();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment