Add custom textures loading in EmuThread
This commit is contained in:
parent
2d14dc49f7
commit
45ed46fa09
2 changed files with 4 additions and 3 deletions
|
@ -62,6 +62,10 @@ void EmuThread::run() {
|
|||
const auto scope = core_context.Acquire();
|
||||
Core::System& system = Core::System::GetInstance();
|
||||
|
||||
if (Settings::values.custom_textures) {
|
||||
system.CustomTexManager().FindCustomTextures();
|
||||
}
|
||||
|
||||
if (Settings::values.preload_textures) {
|
||||
emit LoadProgress(VideoCore::LoadCallbackStage::Preload, 0, 0);
|
||||
system.CustomTexManager().PreloadTextures(
|
||||
|
|
|
@ -320,9 +320,6 @@ System::ResultStatus System::Load(Frontend::EmuWindow& emu_window, const std::st
|
|||
}
|
||||
perf_stats = std::make_unique<PerfStats>(title_id);
|
||||
|
||||
if (Settings::values.custom_textures) {
|
||||
custom_tex_manager->FindCustomTextures();
|
||||
}
|
||||
if (Settings::values.dump_textures) {
|
||||
custom_tex_manager->WriteConfig();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue