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...
This commit is contained in:
arookas 2016-02-02 23:33:53 -05:00
parent 15a5e254b6
commit c1dc527007

View file

@ -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);