tools/filter_obyfile.pl
changeset 57 a44af1db196f
parent 41 c57a6c85ccdc
child 75 b0f4d5be8407
--- a/tools/filter_obyfile.pl	Fri Oct 15 14:51:12 2010 +0100
+++ b/tools/filter_obyfile.pl	Fri Oct 15 15:50:31 2010 +0100
@@ -315,9 +315,11 @@
 		}
 	
 	# patchdata  sys\bin\eiksrv.dll addr 0x0000c944 4 5
-	if ($line =~ /^\s*patchdata\s*(\S+)/)
+	# patchdata rawip.dll@KRMtuIPv6 0x578
+	if ($line =~ /^\s*patchdata\s*(\S+)(\s*@|\s+addr)/i)
 		{
 		my $romfile = $1;
+		$romfile = "sys\\bin\\$romfile" if ($romfile !~ /\\/);
 		$romfile =~ s/^\\//;	# remove leading \, to match $romfile convention
 		$romfile = $lc_romfiles{lc $romfile};