Commit graph

4 commits

Author SHA1 Message Date
Nikos Chantziaras
0cca23ff30
Add CHD precache support
This uses the chd_precache() function of libchdr which just loads the
CHD image to memory without decompressing it. So this is "weaker" than
the full preload to RAM option, which fully decompresses the CHD image,
but it still solves the problem of having the CHD images stored on
unreliable network storage. It's also much faster, since CHDs are quite
slow to decompress in whole.

The main point of this is to be able to use M3U files to run multi-disc
games and still be able to work around unreliable storage. The full
preload to RAM option does not work with M3U files. This option does.

CHD precache is ignored (and the option disabled in the UI) if the full
preload to RAM option is enabled.
2022-02-04 21:40:28 +02:00
Connor McLaughlin
e118b5486e CDImagePPF: Fix incorrect filename saved to state 2021-06-05 18:12:59 +10:00
Connor McLaughlin
350049826f Fix a bunch of compiler warnings 2021-06-04 13:14:30 +10:00
Connor McLaughlin
77984035d2 CDImage: Add CDImagePPF to overlap a PPF on another image 2021-06-01 21:54:50 +10:00