MBU-Team / OpenMBU

A reverse engineered version of Marble Blast Ultra from Xbox 360
156 stars 20 forks source link

Memory-backed files in VFS #204

Closed HiGuyMB closed 9 months ago

HiGuyMB commented 9 months ago

This is just scaffolding for more vfs stuff happening sometime in the future. Any files saved to mem/* will be stored in memory instead of on disk and can be accessed until the game is closed.

Changeset is kinda big because I ended up refactoring openFileForWrite to return a generic Stream type instead of FileStream so most operations will seamlessly work on memory files