mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 10:37:38 -04:00
lcd framebuffer - Bugfix #2 ensure proper alignment
-- apparenty 0x4 aligned doesn't work properly requires 0x8 alignment at least for the h10 20gb but enabled for all processors that define MEM_ALIGN_ATTR Change-Id: I11edaab183b91a6d158f1f439f173b9b699dc914
This commit is contained in:
parent
a53864ed4a
commit
3a5c5edbf6
1 changed files with 2 additions and 1 deletions
|
@ -27,6 +27,7 @@
|
|||
#include "cpu.h"
|
||||
#include "config.h"
|
||||
#include "events.h"
|
||||
#include "system.h"
|
||||
|
||||
|
||||
/* Frame buffer stride
|
||||
|
@ -165,9 +166,9 @@ struct frame_buffer_t {
|
|||
fb_remote_data *fb_remote_ptr;
|
||||
#endif
|
||||
};
|
||||
void *(*get_address_fn)(int x, int y);
|
||||
ptrdiff_t stride;
|
||||
size_t elems;
|
||||
void *(*get_address_fn)(int x, int y) MEM_ALIGN_ATTR;
|
||||
};
|
||||
|
||||
#define VP_FLAG_ALIGN_RIGHT 0x01
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue