Unknown W. Brackets
12f8df395b
Return correct bytes near end in RAM caching.
...
Reading beyond the end of file should not return data. Also check what
the backend actually returned, in case it wasn't able to return data
either.
2016-05-22 01:35:16 -07:00
Unknown W. Brackets
546c0a5d9b
Fix buffer overflow in RAM caching feature.
...
Would mainly affect files not even block sizes, such as CSO files, but
might affect all files. Oops. Fixes #8764 .
2016-05-22 01:34:31 -07:00
Unknown W. Brackets
ef1dc583a2
Fix various minor warnings.
2016-03-20 14:17:51 -07:00
Unknown W. Brackets
95abf332d1
Disable ISO RAM cache if out of memory.
...
Better to fail to preload than to crash.
2015-12-19 15:29:34 -08:00
Unknown W. Brackets
dd5c91108c
Use a background thread to load ISO into RAM.
...
This way we don't get slow startup. This will also cache the CSO data,
for example, rather than the raw data, using up less RAM. It might even
be reasonable to enable on 32-bit.
2015-12-19 15:23:25 -08:00