commit c3a54e4
Devine Lu Linvega
·
2024-07-02 23:56:20 +0000 UTC
parent c8b6909
Rolled back change to uxn core
1 files changed,
+2,
-2
+2,
-2
1@@ -34,8 +34,8 @@ WITH REGARD TO THIS SOFTWARE.
2 #define IMM(x, y) { uxn.x.dat[uxn.x.ptr++] = (y); }
3 #define DEI(o, p) { if(_2) { o = (emu_dei(p) << 8) | emu_dei(p + 1); } else o = emu_dei(p); }
4 #define DEO(p, y) { if(_2) { emu_deo(p, y >> 8); emu_deo(p + 1, y); } else emu_deo(p, y); }
5-#define PEK(o, x, r) { if(_2) { r = (x); o = uxn.ram[r] << 8 | uxn.ram[r + 1]; } else o = uxn.ram[(x)]; }
6-#define POK(x, y, r) { if(_2) { r = (x); uxn.ram[r] = y >> 8; uxn.ram[r + 1] = y; } else uxn.ram[(x)] = (y); }
7+#define PEK(o, x, r) { if(_2) { r = (x); o = uxn.ram[r++] << 8 | uxn.ram[r]; } else o = uxn.ram[(x)]; }
8+#define POK(x, y, r) { if(_2) { r = (x); uxn.ram[r++] = y >> 8; uxn.ram[r] = y; } else uxn.ram[(x)] = (y); }
9
10 int
11 uxn_eval(Uint16 pc)