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:
parent
15a5e254b6
commit
c1dc527007
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue