diff options
Diffstat (limited to 'src/tools/unidasm.c')
-rw-r--r-- | src/tools/unidasm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/unidasm.c b/src/tools/unidasm.c index 77c9fa1f572..93431ada607 100644 --- a/src/tools/unidasm.c +++ b/src/tools/unidasm.c @@ -503,7 +503,7 @@ int main(int argc, char *argv[]) } // run it - try + try { curpc = opts.basepc; for (curbyte = 0; curbyte < length; curbyte += numbytes) @@ -515,7 +515,7 @@ int main(int argc, char *argv[]) // disassemble pcdelta = (*opts.dasm->func)(NULL, buffer, curpc, oprom, oprom, opts.mode) & DASMFLAG_LENGTHMASK; - + if (opts.dasm->pcshift < 0) numbytes = pcdelta << -opts.dasm->pcshift; else @@ -629,6 +629,6 @@ int main(int argc, char *argv[]) { fprintf(stderr, "Caught unhandled exception\n"); } - + return result; } |