mirror of
https://github.com/dingusdev/dingusppc.git
synced 2026-10-24 10:02:18 +00:00
We were reading the entire disk image into a stringstream for deterministic mode, which is slow and memory-intensive. Instead on POSIX hosts we can use `mmap` to lazily map the disk image into memory, allowing it to be streamed in as the guest actually needs data from it. Helps with iteration speed when debugging via deterministic mode.