diff options
author | pixel <pixel> | 2003-10-09 04:49:02 +0000 |
---|---|---|
committer | pixel <pixel> | 2003-10-09 04:49:02 +0000 |
commit | 30e6f91d900fd9cdaa780719615ebe8d0959403a (patch) | |
tree | c76cf7153c50d21d35db5826577a29b602133e91 /lib | |
parent | d2966cea60f5ff4c8d1d4eae9d2ffd9deb097341 (diff) |
Allez zou...
Diffstat (limited to 'lib')
-rw-r--r-- | lib/cdutils.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/cdutils.cpp b/lib/cdutils.cpp index 81744e8..85780df 100644 --- a/lib/cdutils.cpp +++ b/lib/cdutils.cpp @@ -251,6 +251,8 @@ void cdutils::write_sector(Byte * buffer, int type, int number) { if (number >= 0) { sector_seek(number); + } else { + number = f_iso_r->tell() / 2352; } f_iso_r->read(old_sector, 2352); |