diff options
-rw-r--r-- | luapatch.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/luapatch.cpp b/luapatch.cpp index 369858f..0bee6c2 100644 --- a/luapatch.cpp +++ b/luapatch.cpp @@ -417,6 +417,11 @@ virtual int startup(void) throw (GeneralException) { if (quit)
exit(0);
+ + Input * fpatch = new Input(patch); + fpatch->seek(0); + + new Archive(fpatch); Output * o;
cdutils * cdutil;
@@ -446,7 +451,6 @@ virtual int startup(void) throw (GeneralException) { L->push("iso"); liso.push(L); L->setvar(); - new Archive(patch); L->load(&Input("main")); delete b; |