summaryrefslogtreecommitdiff
path: root/src/yuzu_cmd
diff options
context:
space:
mode:
authorGravatar bunnei2021-02-12 22:22:18 -0800
committerGravatar GitHub2021-02-12 22:22:18 -0800
commitd3c7a7e7cf4bcabb171c98fe55e6e0291f8ee980 (patch)
tree5c900d10847e1768a4951c1e6bec35f2618b5991 /src/yuzu_cmd
parentMerge pull request #5877 from ameerj/res-limit-usage (diff)
parentconfig: Make high GPU accuracy the default (diff)
downloadyuzu-d3c7a7e7cf4bcabb171c98fe55e6e0291f8ee980.tar.gz
yuzu-d3c7a7e7cf4bcabb171c98fe55e6e0291f8ee980.tar.xz
yuzu-d3c7a7e7cf4bcabb171c98fe55e6e0291f8ee980.zip
Merge pull request #5741 from ReinUsesLisp/new-bufcache
video_core: Reimplement the buffer cache
Diffstat (limited to 'src/yuzu_cmd')
-rw-r--r--src/yuzu_cmd/config.cpp2
-rw-r--r--src/yuzu_cmd/yuzu.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu_cmd/config.cpp b/src/yuzu_cmd/config.cpp
index f76102459..aa0a9f288 100644
--- a/src/yuzu_cmd/config.cpp
+++ b/src/yuzu_cmd/config.cpp
@@ -388,7 +388,7 @@ void Config::ReadValues() {
388 static_cast<u16>(sdl2_config->GetInteger("Renderer", "frame_limit", 100))); 388 static_cast<u16>(sdl2_config->GetInteger("Renderer", "frame_limit", 100)));
389 Settings::values.use_disk_shader_cache.SetValue( 389 Settings::values.use_disk_shader_cache.SetValue(
390 sdl2_config->GetBoolean("Renderer", "use_disk_shader_cache", false)); 390 sdl2_config->GetBoolean("Renderer", "use_disk_shader_cache", false));
391 const int gpu_accuracy_level = sdl2_config->GetInteger("Renderer", "gpu_accuracy", 0); 391 const int gpu_accuracy_level = sdl2_config->GetInteger("Renderer", "gpu_accuracy", 1);
392 Settings::values.gpu_accuracy.SetValue(static_cast<Settings::GPUAccuracy>(gpu_accuracy_level)); 392 Settings::values.gpu_accuracy.SetValue(static_cast<Settings::GPUAccuracy>(gpu_accuracy_level));
393 Settings::values.use_asynchronous_gpu_emulation.SetValue( 393 Settings::values.use_asynchronous_gpu_emulation.SetValue(
394 sdl2_config->GetBoolean("Renderer", "use_asynchronous_gpu_emulation", true)); 394 sdl2_config->GetBoolean("Renderer", "use_asynchronous_gpu_emulation", true));
diff --git a/src/yuzu_cmd/yuzu.cpp b/src/yuzu_cmd/yuzu.cpp
index 0e1f3bdb3..982c41785 100644
--- a/src/yuzu_cmd/yuzu.cpp
+++ b/src/yuzu_cmd/yuzu.cpp
@@ -215,7 +215,7 @@ int main(int argc, char** argv) {
215 // Core is loaded, start the GPU (makes the GPU contexts current to this thread) 215 // Core is loaded, start the GPU (makes the GPU contexts current to this thread)
216 system.GPU().Start(); 216 system.GPU().Start();
217 217
218 system.Renderer().Rasterizer().LoadDiskResources( 218 system.Renderer().ReadRasterizer()->LoadDiskResources(
219 system.CurrentProcess()->GetTitleID(), false, 219 system.CurrentProcess()->GetTitleID(), false,
220 [](VideoCore::LoadCallbackStage, size_t value, size_t total) {}); 220 [](VideoCore::LoadCallbackStage, size_t value, size_t total) {});
221 221