From a7e10679d4480036349dde3a0ac23e11a18142bb Mon Sep 17 00:00:00 2001 From: arookas Date: Mon, 14 Dec 2015 14:47:19 -0500 Subject: [PATCH] Added PushAddress (SPC command 0x3). --- ssc/writer.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ssc/writer.cs b/ssc/writer.cs index 45f6b8f..56e0584 100644 --- a/ssc/writer.cs +++ b/ssc/writer.cs @@ -46,6 +46,11 @@ namespace arookas writer.Write8(0x02); writer.WriteS32(dataIndex); } + public void PushAddress(int value) + { + writer.Write8(0x03); + writer.WriteS32(value); + } public void PushVariable(sunVariableInfo variableInfo) { PushVariable(variableInfo.Display, variableInfo.Index);