From c1dc5270070f0cf7f680f637f7ba0736d66c9186 Mon Sep 17 00:00:00 2001 From: arookas Date: Tue, 2 Feb 2016 23:33:53 -0500 Subject: [PATCH] Fixed: ADR command is unsigned Which reminds me that I need to add address literals to the grammar so ssc can actually output this opcode... --- ssc/binary.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ssc/binary.cs b/ssc/binary.cs index b1430e9..bc2a82a 100644 --- a/ssc/binary.cs +++ b/ssc/binary.cs @@ -86,9 +86,9 @@ namespace arookas { mText.Writer.Write8(0x02); mText.Writer.WriteS32(index); } - public void WriteADR(int value) { + public void WriteADR(uint value) { mText.Writer.Write8(0x03); - mText.Writer.WriteS32(value); + mText.Writer.Write32(value); } public void WriteVAR(int display, int index) { mText.Writer.Write8(0x04);