mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-16 16:25:45 -04:00
System: Add option to force start in software mode
This commit is contained in:
@ -39,6 +39,7 @@ struct SystemBootParameters
|
||||
std::optional<bool> override_fast_boot;
|
||||
std::optional<bool> override_fullscreen;
|
||||
std::unique_ptr<ByteStream> state_stream;
|
||||
bool force_software_renderer = false;
|
||||
};
|
||||
|
||||
class System
|
||||
@ -145,11 +146,11 @@ public:
|
||||
private:
|
||||
System(HostInterface* host_interface);
|
||||
|
||||
bool DoLoadState(ByteStream* stream, bool init_components);
|
||||
bool DoLoadState(ByteStream* stream, bool init_components, bool force_software_renderer);
|
||||
bool DoState(StateWrapper& sw);
|
||||
bool CreateGPU(GPURenderer renderer);
|
||||
|
||||
void InitializeComponents();
|
||||
bool InitializeComponents(bool force_software_renderer);
|
||||
void DestroyComponents();
|
||||
|
||||
// Active event management
|
||||
|
Reference in New Issue
Block a user