Add poke1() and peek1() functions
@@ -89,6 +89,16 @@ void tic_api_poke4(tic_mem* memory, s32 address, u8 value)
tic_api_poke(memory, address, value, 4);
}
+u8 tic_api_peek1(tic_mem* memory, s32 address)
+{
+ return tic_api_peek(memory, address, 1);
+}
+
+void tic_api_poke1(tic_mem* memory, s32 address, u8 value)
+{
+ tic_api_poke(memory, address, value, 1);
+}
+
void tic_api_memcpy(tic_mem* memory, s32 dst, s32 src, s32 size)
{
tic_core* core = (tic_core*)memory;
