mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-15 05:20:05 +00:00
Add custom textures loading in EmuThread
This commit is contained in:
parent
2d14dc49f7
commit
45ed46fa09
@ -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 New Issue
Block a user