mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-17 02:45:45 -04:00
Qt: Add texture replacement options to advanced settings
This commit is contained in:
@ -17,6 +17,7 @@
|
||||
#include "pgxp.h"
|
||||
#include "save_state_version.h"
|
||||
#include "system.h"
|
||||
#include "texture_replacements.h"
|
||||
#include <cmath>
|
||||
#include <cstring>
|
||||
#include <cwchar>
|
||||
@ -738,6 +739,13 @@ void HostInterface::CheckForSettingsChanges(const Settings& old_settings)
|
||||
System::UpdateMemoryCards();
|
||||
}
|
||||
|
||||
if (g_settings.texture_replacements.enable_vram_write_replacements !=
|
||||
old_settings.texture_replacements.enable_vram_write_replacements ||
|
||||
g_settings.texture_replacements.preload_textures != old_settings.texture_replacements.preload_textures)
|
||||
{
|
||||
g_texture_replacements.Reload();
|
||||
}
|
||||
|
||||
g_dma.SetMaxSliceTicks(g_settings.dma_max_slice_ticks);
|
||||
g_dma.SetHaltTicks(g_settings.dma_halt_ticks);
|
||||
}
|
||||
|
Reference in New Issue
Block a user