summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/uae/files/split_cpuemu.pl')
-rwxr-xr-xapp-emulation/uae/files/split_cpuemu.pl32
1 files changed, 0 insertions, 32 deletions
diff --git a/app-emulation/uae/files/split_cpuemu.pl b/app-emulation/uae/files/split_cpuemu.pl
deleted file mode 100755
index 0ddacec..0000000
--- a/app-emulation/uae/files/split_cpuemu.pl
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/usr/bin/perl
-
-open(INPUT, "<cpuemu_6.c");
-open(OUT1, ">cpuemu_6.t");
-open(OUT2, ">cpuemu_7.c");
-
-$header = 1;
-$part = 0;
-
-while ($line = <INPUT>) {
-
- $size += length($line);
-
- if (($line =~ /^#/ || $line eq "\n") && ($line ne "#ifdef PART_1\n") && $header) {
- print OUT1 $line;
- print OUT2 $line;
- } else {
-
- $header = 0;
-
- if ($line ne "#ifdef PART_4\n" && $part == 0) {
- print OUT1 $line;
- } else {
- $part = 1;
- print OUT2 $line;
- }
- }
-}
-
-close(OUT2);
-close(OUT1);
-close(INPUT);