diff options
Diffstat (limited to 'lib/isobuilder.cpp')
-rw-r--r-- | lib/isobuilder.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/isobuilder.cpp b/lib/isobuilder.cpp index 362151d..e0433e0 100644 --- a/lib/isobuilder.cpp +++ b/lib/isobuilder.cpp @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: isobuilder.cpp,v 1.2 2003-12-04 01:47:37 pixel Exp $ */ +/* $Id: isobuilder.cpp,v 1.3 2003-12-04 03:35:31 pixel Exp $ */ #include "isobuilder.h"
@@ -521,7 +521,7 @@ void isobuilder::clearEOF() { sub_EOF = sub_EOR = 0;
}
-isobuilder::DirTree * isobuilder::setbasics(PVD _pvd, int _rootsize, int _ptsize, int _nvd) throw (GeneralException) {
+isobuilder::DirTree * isobuilder::setbasics(PVD _pvd, int _rootsize, int _ptsize, int _nvd, int _rootsect) throw (GeneralException) {
if (basics) {
throw GeneralException("Basic ISO structures already set");
}
@@ -534,6 +534,8 @@ isobuilder::DirTree * isobuilder::setbasics(PVD _pvd, int _rootsize, int _ptsize ptsect = 17 + nvd;
rootsect = ptsect + ptsize * 4;
+ if (_rootsect >= 0)
+ rootsect = _rootsect;
lastdispsect = rootsect + rootsize;
root = new DirTree(0);
|