diff --git a/src/main.c b/src/main.c index 2fb079c..9a61ddd 100644 --- a/src/main.c +++ b/src/main.c @@ -124,20 +124,8 @@ static void copy_framebuffer() { uint32_t *src = (uint32_t*)(umac_ram + umac_get_fb_offset()); #if DISP_WIDTH==640 && DISP_HEIGHT==480 uint32_t *dest = umac_framebuffer_mirror; - memset(umac_framebuffer_mirror, 0xff, sizeof(uint32_t) * 640 * 480 / 32); - - #define MAC_WIDTH 512 - #define MAC_HEIGHT 342 - #define DISP_XOFFSET ((640 - MAC_WIDTH) / 32 / 2) - #define DISP_YOFFSET ((480 - MAC_HEIGHT) / 2) - #define LONGS_PER_INPUT_ROW (MAC_WIDTH / 32) - #define LONGS_PER_OUTPUT_ROW (640 / 32) - - for(int i=0; i