Output hex literals in upper case

Signed-off-by: Graham <gpe@openrs2.dev>
feat/deob-ir
Graham 5 years ago
parent 59a78bea39
commit 9db5025c41
  1. 2
      deob-ast/src/main/java/dev/openrs2/deob/ast/transform/GlConstantTransformer.kt

@ -196,7 +196,7 @@ class GlConstantTransformer : Transformer() {
}
private fun Int.toHexLiteralExpr(): IntegerLiteralExpr {
return IntegerLiteralExpr("0x${Integer.toUnsignedString(this, 16)}")
return IntegerLiteralExpr("0x${Integer.toUnsignedString(this, 16).toUpperCase()}")
}
private fun transformExpr(

Loading…
Cancel
Save