forked from len0rd/rockbox
lcd_framebuffer bugfixes, sanity checks
several issues I saw that could pontentially cause problems scroll engine doesn't take text height into account when checking bounds NBELEMS was one whole row too large hopefully I got them right this time Change-Id: If303da8320429c3964fc675351cb088d46303745
This commit is contained in:
parent
202f9df0c1
commit
60f642ba4f
7 changed files with 55 additions and 24 deletions
|
|
@ -38,6 +38,9 @@
|
|||
#include "bidi.h"
|
||||
#include "scroll_engine.h"
|
||||
|
||||
// #define LOGF_ENABLE
|
||||
#include "logf.h"
|
||||
|
||||
#define ROW_INC lcd_current_viewport->buffer->stride
|
||||
#define COL_INC 1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue