mirror of
https://github.com/autc04/Retro68.git
synced 2025-02-18 02:30:48 +00:00
fix size of generated disk images (#109)
This commit is contained in:
parent
3992bf904a
commit
292e78bbab
@ -521,7 +521,7 @@ bool ResourceFile::write()
|
|||||||
std::ostringstream rsrcOut;
|
std::ostringstream rsrcOut;
|
||||||
resources.writeFork(rsrcOut);
|
resources.writeFork(rsrcOut);
|
||||||
std::string rsrc = rsrcOut.str();
|
std::string rsrc = rsrcOut.str();
|
||||||
int size = rsrc.size();
|
int size = rsrc.size() + data.size();
|
||||||
|
|
||||||
size += 20 * 1024;
|
size += 20 * 1024;
|
||||||
size += 800*1024 - size % (800*1024);
|
size += 800*1024 - size % (800*1024);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user