Fixed the mapping between software mapped patterns and hardware LCD.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3079 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Kjell Ericson 2003-01-13 13:21:13 +00:00
parent 1a4fd1f3a4
commit fd07b6932f

View file

@ -333,7 +333,7 @@ void lcd_define_pattern(int pat, char *pattern)
extended_font_player[pat][i]=pattern[i];
}
if (extended_chars_mapped[pat]!=NO_CHAR) {
lcd_define_hw_pattern(pat*8, pattern, 7);
lcd_define_hw_pattern(extended_chars_mapped[pat]*8, pattern, 7);
}
}