mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-10 18:05:47 -04:00
Qt: Update GPU settings when enhancements are changed
This commit is contained in:
@ -78,6 +78,11 @@ bool System::RecreateGPU()
|
||||
return true;
|
||||
}
|
||||
|
||||
void System::UpdateGPUSettings()
|
||||
{
|
||||
m_gpu->UpdateSettings();
|
||||
}
|
||||
|
||||
bool System::Boot(const char* filename)
|
||||
{
|
||||
// Load CD image up and detect region.
|
||||
|
@ -70,6 +70,9 @@ public:
|
||||
/// Recreates the GPU component, saving/loading the state so it is preserved. Call when the GPU renderer changes.
|
||||
bool RecreateGPU();
|
||||
|
||||
/// Updates GPU settings, without recreating the renderer.
|
||||
void UpdateGPUSettings();
|
||||
|
||||
void RunFrame();
|
||||
|
||||
bool LoadEXE(const char* filename, std::vector<u8>& bios_image);
|
||||
|
Reference in New Issue
Block a user