here we creating a bitmap without overdraw
|
primary_buffer = bmp_create(width, height, 0); /* no overdraw */ |
cause u've tried to remove double buffering to speed up rendering a bit, I assume that's only single buffer u've
internally nofrendo draws sprites lazy way, instead of complicating logics, we allocate more memory for bitmap, but display what is meant to be displayed.
so, u need to pass overdraw 8 here or we write too much, causing a memory bug
I think u r still alive only cause memory guard allocates few bytes more, but that doesn't allow to disable it
UPD: is about #14 actually, but I've found it too late
it won't fix frees, but it fixes that bitmap problem
some sprites are rendered outside of screen area, but more often is about one additional pixel for smooth scrolling
here we creating a bitmap without overdraw
arduino-nofrendo/src/vid_drv.c
Line 408 in 7506ab5
cause u've tried to remove double buffering to speed up rendering a bit, I assume that's only single buffer u've
internally nofrendo draws sprites lazy way, instead of complicating logics, we allocate more memory for bitmap, but display what is meant to be displayed.
so, u need to pass overdraw 8 here or we write too much, causing a memory bug
I think u r still alive only cause memory guard allocates few bytes more, but that doesn't allow to disable it
UPD: is about #14 actually, but I've found it too late
it won't fix frees, but it fixes that bitmap problem
some sprites are rendered outside of screen area, but more often is about one additional pixel for smooth scrolling