mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-26 22:51:01 +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;
|
||||
resources.writeFork(rsrcOut);
|
||||
std::string rsrc = rsrcOut.str();
|
||||
int size = rsrc.size();
|
||||
int size = rsrc.size() + data.size();
|
||||
|
||||
size += 20 * 1024;
|
||||
size += 800*1024 - size % (800*1024);
|
||||
|
Loading…
Reference in New Issue
Block a user