mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
Fix sigsegv on non-standard sector sizes.
This commit is contained in:
@@ -47,7 +47,7 @@ public:
|
||||
if (sector)
|
||||
{
|
||||
outputFile.seekp(offset);
|
||||
outputFile.write((const char*) sector->data.cbegin(), 256);
|
||||
outputFile.write((const char*) sector->data.cbegin(), sector->data.size());
|
||||
}
|
||||
|
||||
offset += 256;
|
||||
|
||||
Reference in New Issue
Block a user