System: Preload CD images to RAM when switching/loading state

This commit is contained in:
Connor McLaughlin
2020-07-23 02:35:23 +10:00
parent 6c162eb3c5
commit d46c104d1b
2 changed files with 25 additions and 12 deletions

View File

@@ -155,6 +155,9 @@ public:
private:
System(HostInterface* host_interface);
/// Opens CD image, preloading if needed.
std::unique_ptr<CDImage> OpenCDImage(const char* path, bool force_preload);
bool DoLoadState(ByteStream* stream, bool init_components, bool force_software_renderer);
bool DoState(StateWrapper& sw);
bool CreateGPU(GPURenderer renderer);