CookiePLMonster / mkpsxiso

ISO disc image maker written specifically for PlayStation homebrew development
GNU General Public License v2.0
15 stars 3 forks source link

Memory mapped based ISO writing #15

Closed CookiePLMonster closed 2 years ago

CookiePLMonster commented 2 years ago

This PR completely refactors IsoWriter to use memory mapped files to create the image. This results in:

In order not to explode RAM usage too much, views are mapped on per-file basis. This means that the max RAM usage of this new solution is roughly equivalent to the size of sectors occupied by the biggest file.

NOTE: I have not tested it on Linux! It would be good to know if it even works there.