Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

disasm: Use Winxed $directives

commit d05e70fb5f6ebf20d990335804df2556184b589c 1 parent c725ca9
Brian Gernhardt authored

Showing 1 changed file with 6 additions and 4 deletions. Show diff stats Hide diff stats

  1. 10  src/disasm.winxed
10  src/disasm.winxed
@@ -2,12 +2,14 @@
2 2
 
3 3
 // Basic disassembler to demonstrate the PACT.Packfile classes
4 4
 
5  
-class PACT.Packfile.Decompile;
  5
+// Load disassembler
  6
+$include 'PACT/Packfile/Decompile.winxed';
  7
+$load    'PACT/Packfile/Decompile.pbc';
6 8
 
7  
-function main[main](var argv) {
8  
-    load_bytecode('pact/packfile/decompile.pbc');
9  
-    load_bytecode('dumper.pbc');
  9
+// Load dumper for output
  10
+$load 'dumper.pbc';
10 11
 
  12
+function main[main](var argv) {
11 13
     // Process arguments
12 14
     string progname = argv[0];
13 15
     if (elements(argv) != 2) {

0 notes on commit d05e70f

Please sign in to comment.
Something went wrong with that request. Please try again.