1
0
Fork 0
forked from len0rd/rockbox

Revert "lcd framebuffer - Bugfix #2 ensure proper alignment"

This reverts commit 3a5c5edbf6.

Reason for revert:pulling in system.h breaks SDL

:(

Change-Id: Ied5e08de4770aa0da87c14b304480448db349423
This commit is contained in:
William Wilgus 2021-03-25 06:33:17 +00:00
parent 3a5c5edbf6
commit 3d9d2de34d

View file

@ -27,7 +27,6 @@
#include "cpu.h" #include "cpu.h"
#include "config.h" #include "config.h"
#include "events.h" #include "events.h"
#include "system.h"
/* Frame buffer stride /* Frame buffer stride
@ -166,9 +165,9 @@ struct frame_buffer_t {
fb_remote_data *fb_remote_ptr; fb_remote_data *fb_remote_ptr;
#endif #endif
}; };
void *(*get_address_fn)(int x, int y);
ptrdiff_t stride; ptrdiff_t stride;
size_t elems; size_t elems;
void *(*get_address_fn)(int x, int y) MEM_ALIGN_ATTR;
}; };
#define VP_FLAG_ALIGN_RIGHT 0x01 #define VP_FLAG_ALIGN_RIGHT 0x01