aboutsummaryrefslogtreecommitdiffstats
path: root/src/uxn.h
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2022-03-14 10:25:51 +0100
committerBad Diode <bd@badd10de.dev>2022-03-14 10:25:51 +0100
commit519cb33c15b3d95d186bd62c283a3183e2300365 (patch)
tree290a66f8cd29d166c71b79d8299ff92dbfe758b1 /src/uxn.h
parent92dce67f97a128d88ce98ab1c9da23b12a61c51c (diff)
downloaduxngba-519cb33c15b3d95d186bd62c283a3183e2300365.tar.gz
uxngba-519cb33c15b3d95d186bd62c283a3183e2300365.zip
Update screen vector with new auto changes
Diffstat (limited to 'src/uxn.h')
-rw-r--r--src/uxn.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/uxn.h b/src/uxn.h
index 6f01405..5d68528 100644
--- a/src/uxn.h
+++ b/src/uxn.h
@@ -15,6 +15,8 @@ WITH REGARD TO THIS SOFTWARE.
15*/ 15*/
16 16
17#define PAGE_PROGRAM 0x0100 17#define PAGE_PROGRAM 0x0100
18#define DEVPEEK16(o, x) { (o) = (d->dat[(x)] << 8) + d->dat[(x) + 1]; }
19#define DEVPOKE16(x, y) { d->dat[(x)] = (y) >> 8; d->dat[(x) + 1] = (y); }
18 20
19typedef struct { 21typedef struct {
20 u8 ptr, kptr, error; 22 u8 ptr, kptr, error;