fixed 8bit writes to vmem, unaligned data buffers, and started on
[gba_blender] / src / gfx.h
index 6ba6af5..430b980 100644 (file)
--- a/src/gfx.h
+++ b/src/gfx.h
@@ -24,7 +24,7 @@ along with this program.  If not, see <https://www.gnu.org/licenses/>.
 
 #define present(x) \
        do { \
-               REG_DISPCNT = DISPCNT_BG2 | 4 | ((x) << 4); \
+               REG_DISPCNT = DISPCNT_BG2 | DISPCNT_OBJ | 4 | ((x) << 4); \
        } while(0)
 
 #define set_bg_color(idx, r, g, b) \