Browse Source

Swap substr for regex in getAddress

ApisNecros 4 months ago
parent
commit
cec798cadc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      yaict.pl

+ 1 - 1
yaict.pl

@@ -119,7 +119,7 @@ sub isImmediate
 
 
 sub getAddress
 sub getAddress
 {
 {
-    return substr(shift, 2);
+    return (shift =~ s/^0d//r);
 }
 }
 
 
 sub readFile
 sub readFile