summaryrefslogtreecommitdiff
path: root/agbx/source/gfx
diff options
context:
space:
mode:
Diffstat (limited to 'agbx/source/gfx')
-rw-r--r--agbx/source/gfx/plot.c2
-rw-r--r--agbx/source/gfx/setpx.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/agbx/source/gfx/plot.c b/agbx/source/gfx/plot.c
index 5a65972..2146c54 100644
--- a/agbx/source/gfx/plot.c
+++ b/agbx/source/gfx/plot.c
@@ -6,6 +6,8 @@
#include <agbx/priv.h>
+#include <agbx/gfx.h>
+
agbx_i10 agbx_plot3(agbx_i8 const _x,agbx_i8 const _y,agbx_i10 const _col) {
#if defined(__agbx_dbg)
if (_x >= 0xF0u || _y >= 0xA0u) {agbx_done(agbx_err_pos2big);}
diff --git a/agbx/source/gfx/setpx.c b/agbx/source/gfx/setpx.c
index ace2463..563fd3b 100644
--- a/agbx/source/gfx/setpx.c
+++ b/agbx/source/gfx/setpx.c
@@ -6,6 +6,8 @@
#include <agbx/priv.h>
+#include <agbx/gfx.h>
+
void agbx_setpx1(agbx_i10 const _px,agbx_i8 const _col) {
#if defined(__agbx_dbg)
agbx_i10 const dispcnt = agbx_get10(0x4000000u);