mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-26 15:53:35 +01:00
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.
This commit is contained in:
1 parent
4c0051dcfb
commit
dd5c91108c
11 files changed
+331
-52
No files matched your search
@@ -73,13 +73,6 @@ void InitMemoryForGameISO(FileLoader *fileLoader) {
|
||||
if (!bd)
|
||||
return;
|
||||
|
||||
#ifdef _M_X64
|
||||
if (g_Config.bCacheFullIsoInRam) {
|
||||
// The constructor destroys the original block device object after reading it.
|
||||
bd = new RAMBlockDevice(bd);
|
||||
}
|
||||
#endif
|
||||
|
||||
umd2 = new ISOFileSystem(&pspFileSystem, bd);
|
||||
actualIso = true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user