From 30e6f91d900fd9cdaa780719615ebe8d0959403a Mon Sep 17 00:00:00 2001 From: pixel Date: Thu, 9 Oct 2003 04:49:02 +0000 Subject: Allez zou... --- lib/cdutils.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib') 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); -- cgit v1.2.3